diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-12 20:10:48 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-06-12 20:10:48 +0000 |
commit | 89061b2224456b46fb09a62533687dd3bf746afa (patch) | |
tree | 30716f798fdb25531fe7c4790d84f0b272bcae50 /clang/test/CodeGen/pragma-detect_mismatch.c | |
parent | 30b2c6bdb7e87b0fbcfcf17898dba1d2e982d5b3 (diff) | |
download | bcm5719-llvm-89061b2224456b46fb09a62533687dd3bf746afa.tar.gz bcm5719-llvm-89061b2224456b46fb09a62533687dd3bf746afa.zip |
IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.
The new metadata is easier to manipulate than module flags.
Differential Revision: https://reviews.llvm.org/D31349
llvm-svn: 305227
Diffstat (limited to 'clang/test/CodeGen/pragma-detect_mismatch.c')
-rw-r--r-- | clang/test/CodeGen/pragma-detect_mismatch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/CodeGen/pragma-detect_mismatch.c b/clang/test/CodeGen/pragma-detect_mismatch.c index 08259fc6be7..066183d3126 100644 --- a/clang/test/CodeGen/pragma-detect_mismatch.c +++ b/clang/test/CodeGen/pragma-detect_mismatch.c @@ -6,8 +6,6 @@ #define BAR "2" #pragma detect_mismatch("test2", BAR) -// CHECK: !llvm.module.flags = !{{{.*}}} -// CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[link_opts:[0-9]+]]} -// CHECK: ![[link_opts]] = !{![[test:[0-9]+]], ![[test2:[0-9]+]]} +// CHECK: !llvm.linker.options = !{![[test:[0-9]+]], ![[test2:[0-9]+]]} // CHECK: ![[test]] = !{!"/FAILIFMISMATCH:\22test=1\22"} // CHECK: ![[test2]] = !{!"/FAILIFMISMATCH:\22test2=2\22"} |