[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / cfguard-off-instrumented.s
blob4bd81d995689273b69a4e8f0b9f794b78da8590d
1 // Verify that __guard_flags is set to CF_INSTRUMENTED if CF guard is disabled,
2 // but the input object was built with CF guard.
4 // REQUIRES: x86
6 // RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj
7 // RUN: lld-link -out:%t1.dll %t.obj -dll -noentry
8 // RUN: lld-link -out:%t2.dll %t.obj -dll -noentry -guard:no
10 // RUN: llvm-readobj --hex-dump=.test %t1.dll | FileCheck %s
11 // RUN: llvm-readobj --hex-dump=.test %t2.dll | FileCheck %s
12 // CHECK: 0x180001000 00010000
14 .def @feat.00;
15 .scl 3;
16 .type 0;
17 .endef
18 .globl @feat.00
19 @feat.00 = 0x800
21 .section .test, "r"
22 .long __guard_flags