summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-28 22:49:57 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-28 22:49:57 +0000
commit706469b4530bfeed161e55f006145354b97eada2 (patch)
tree2fe6a3294f123c4e1da43b125a1aa1c5b271bf50 /clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp
parentd838bba59b69265933e71cda8532cd5bfc2bf24a (diff)
downloadbcm5719-llvm-706469b4530bfeed161e55f006145354b97eada2.tar.gz
bcm5719-llvm-706469b4530bfeed161e55f006145354b97eada2.zip
Add more of the command line options as attribute flags.
These can be easily queried by the back-end. llvm-svn: 176304
Diffstat (limited to 'clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp')
-rw-r--r--clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp b/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp
index c0bbbaf2f87..1ba1f6a5f27 100644
--- a/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp
+++ b/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp
@@ -5,7 +5,7 @@ struct ClassWithoutDtor {
};
void check_array_no_cookies() {
-// CHECK: define void @"\01?check_array_no_cookies@@YAXXZ"() #0
+// CHECK: define void @"\01?check_array_no_cookies@@YAXXZ"() [[NUW:#[0-9]+]]
// CHECK: call noalias i8* @"\01??_U@YAPAXI@Z"(i32 42)
ClassWithoutDtor *array = new ClassWithoutDtor[42];
@@ -58,4 +58,4 @@ void check_array_cookies_aligned() {
// CHECK: getelementptr inbounds i8* [[ARRAY_AS_CHAR]], i64 -8
}
-// CHECK: attributes #0 = { nounwind{{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
OpenPOWER on IntegriCloud