From 0f424b029b42f5a846b8e4130c883044fd1043c9 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Mon, 25 Feb 2013 19:51:03 +0000 Subject: Revert "Add more attributes from the command line to functions." This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044 --- clang/test/CodeGenCXX/thunks.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGenCXX/thunks.cpp') diff --git a/clang/test/CodeGenCXX/thunks.cpp b/clang/test/CodeGenCXX/thunks.cpp index 6e58830c6ae..70607087437 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 [[NUW:#[0-9]+]] + // CHECK: define void @_ZThn8_N6Test141C1fEv({{.*}}) unnamed_addr #0 } /**** The following has to go at the end of the file ****/ @@ -348,4 +348,7 @@ namespace Test14 { // CHECK: define linkonce_odr void @_ZTv0_n24_N5Test51B1fEv // CHECK: define internal void @_ZThn8_N6Test4B12_GLOBAL__N_11C1fEv( -// CHECK: attributes [[NUW]] = { nounwind uwtable{{.*}} } +// 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"={{.*}} } -- cgit v1.2.3