summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/thunks.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-25 07:15:16 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-25 07:15:16 +0000
commit87869db5f5394fc35f38de1ebbe85f21d5549d99 (patch)
tree6a00b449613d15ba851b41834050d2c7526224e4 /clang/test/CodeGenCXX/thunks.cpp
parentc73f9c5d892b9c31ccbc838ad9a8a5f372f1d7be (diff)
downloadbcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.tar.gz
bcm5719-llvm-87869db5f5394fc35f38de1ebbe85f21d5549d99.zip
Add more attributes from the command line to functions.
This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009
Diffstat (limited to 'clang/test/CodeGenCXX/thunks.cpp')
-rw-r--r--clang/test/CodeGenCXX/thunks.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/CodeGenCXX/thunks.cpp b/clang/test/CodeGenCXX/thunks.cpp
index 70607087437..6e58830c6ae 100644
--- a/clang/test/CodeGenCXX/thunks.cpp
+++ b/clang/test/CodeGenCXX/thunks.cpp
@@ -339,7 +339,7 @@ namespace Test14 {
};
void C::f() {
}
- // CHECK: define void @_ZThn8_N6Test141C1fEv({{.*}}) unnamed_addr #0
+ // CHECK: define void @_ZThn8_N6Test141C1fEv({{.*}}) unnamed_addr [[NUW:#[0-9]+]]
}
/**** The following has to go at the end of the file ****/
@@ -348,7 +348,4 @@ namespace Test14 {
// CHECK: define linkonce_odr void @_ZTv0_n24_N5Test51B1fEv
// CHECK: define internal void @_ZThn8_N6Test4B12_GLOBAL__N_11C1fEv(
-// CHECK: attributes #0 = { nounwind uwtable "target-features"={{.*}} }
-// CHECK: attributes #1 = { inlinehint nounwind uwtable "target-features"={{.*}} }
-// CHECK: attributes #2 = { "target-features"={{.*}} }
-// CHECK: attributes #3 = { nounwind "target-features"={{.*}} }
+// CHECK: attributes [[NUW]] = { nounwind uwtable{{.*}} }
OpenPOWER on IntegriCloud