summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-06-12 20:10:48 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-06-12 20:10:48 +0000
commit89061b2224456b46fb09a62533687dd3bf746afa (patch)
tree30716f798fdb25531fe7c4790d84f0b272bcae50 /clang/test/CodeGenObjC
parent30b2c6bdb7e87b0fbcfcf17898dba1d2e982d5b3 (diff)
downloadbcm5719-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/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/availability-cf-link-guard.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGenObjC/availability-cf-link-guard.m b/clang/test/CodeGenObjC/availability-cf-link-guard.m
index 918d13ffd9f..6bd426476bb 100644
--- a/clang/test/CodeGenObjC/availability-cf-link-guard.m
+++ b/clang/test/CodeGenObjC/availability-cf-link-guard.m
@@ -37,9 +37,8 @@ void use_at_available() {
// CHECK_NO_GUARD-NOT: __clang_at_available_requires_core_foundation_framework
// CHECK_NO_GUARD-NOT: CFBundleGetVersionNumber
-// CHECK_LINK_OPT: !"Linker Options", ![[OPTS:[0-9]+]]
-// CHECK_LINK_OPT: ![[OPTS]] = !{![[FRAMEWORK:[0-9]+]]
+// CHECK_LINK_OPT: !llvm.linker.options = !{![[FRAMEWORK:[0-9]+]]
// CHECK_LINK_OPT: ![[FRAMEWORK]] = !{!"-framework", !"CoreFoundation"}
-// CHECK_NO_GUARD-NOT: "Linker Options"
+// CHECK_NO_GUARD-NOT: !llvm.linker.options
// CHECK_NO_GUARD-NOT: CoreFoundation
OpenPOWER on IntegriCloud