1; RUN: llc < %s -mattr=+mutable-globals | FileCheck %s 2 3; Test that mutable globals is properly emitted into the target features section 4 5target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" 6target triple = "wasm32-unknown-unknown" 7 8define void @foo() { 9 ret void 10} 11 12; CHECK-LABEL: .custom_section.target_features 13; CHECK-NEXT: .int8 1 14; CHECK-NEXT: .int8 43 15; CHECK-NEXT: .int8 15 16; CHECK-NEXT: .ascii "mutable-globals" 17