summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-globalinit.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
commit985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6 (patch)
treeb8a47e64d3688decb45cf1c7f3c5613f9bb7d2d6 /clang/test/CodeGenCXX/debug-info-globalinit.cpp
parente78ecc2cc70b48907fdaea4dbadf0aecb84f2f86 (diff)
downloadbcm5719-llvm-985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6.tar.gz
bcm5719-llvm-985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6.zip
Add the 'target-cpu' and 'target-features' attributes to functions.
The back-end will use these values to reconfigure code generation for different features. llvm-svn: 175308
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-globalinit.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-globalinit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-globalinit.cpp b/clang/test/CodeGenCXX/debug-info-globalinit.cpp
index b3891c148e3..d9f5d050822 100644
--- a/clang/test/CodeGenCXX/debug-info-globalinit.cpp
+++ b/clang/test/CodeGenCXX/debug-info-globalinit.cpp
@@ -17,7 +17,7 @@ int main(void) {}
// CHECK: define internal void @__cxx_global_var_init()
// CHECK-NOT: __cxx_global_var_init
-// CHECK: %[[C0:.+]] = call i32 @_Z4testv(), !dbg ![[LINE:.*]]
+// CHECK: %[[C0:.+]] = call i32 @_Z4testv() "target-features"={{.*}}, !dbg ![[LINE:.*]]
// CHECK-NOT: __cxx_global_var_init
// CHECK: store i32 %[[C0]], i32* @_ZL1i, align 4, !dbg
//
OpenPOWER on IntegriCloud