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.
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