summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/exceptions-seh.c
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-07 23:23:31 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-07 23:23:31 +0000
commit15d152d3acc7149297d19ef00fd2c403f3dc7d32 (patch)
treee410a28ae1e247f53c416332820b60952d142655 /clang/test/CodeGen/exceptions-seh.c
parentd5afc62ff61ceb8e6339cf6bc89c278d90ec4a09 (diff)
downloadbcm5719-llvm-15d152d3acc7149297d19ef00fd2c403f3dc7d32.tar.gz
bcm5719-llvm-15d152d3acc7149297d19ef00fd2c403f3dc7d32.zip
[SEH] Switch from frameaddress(0) to localaddress
This should do the right thing for stack realignment prologues. llvm-svn: 241644
Diffstat (limited to 'clang/test/CodeGen/exceptions-seh.c')
-rw-r--r--clang/test/CodeGen/exceptions-seh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/exceptions-seh.c b/clang/test/CodeGen/exceptions-seh.c
index 9e05e70c7d2..702125b07a6 100644
--- a/clang/test/CodeGen/exceptions-seh.c
+++ b/clang/test/CodeGen/exceptions-seh.c
@@ -188,7 +188,7 @@ int basic_finally(int g) {
// CHECK: to label %[[cont:[^ ]*]] unwind label %[[lpad:[^ ]*]]
//
// CHECK: [[cont]]
-// CHECK: %[[fp:[^ ]*]] = call i8* @llvm.frameaddress(i32 0)
+// CHECK: %[[fp:[^ ]*]] = call i8* @llvm.localaddress()
// CHECK: call void @"\01?fin$0@0@basic_finally@@"({{i8( zeroext)?}} 0, i8* %[[fp]])
// CHECK: load i32, i32* %[[g_addr]], align 4
// CHECK: ret i32
@@ -196,7 +196,7 @@ int basic_finally(int g) {
// CHECK: [[lpad]]
// CHECK: landingpad { i8*, i32 }
// CHECK-NEXT: cleanup
-// CHECK: %[[fp:[^ ]*]] = call i8* @llvm.frameaddress(i32 0)
+// CHECK: %[[fp:[^ ]*]] = call i8* @llvm.localaddress()
// CHECK: call void @"\01?fin$0@0@basic_finally@@"({{i8( zeroext)?}} 1, i8* %[[fp]])
// CHECK: resume
OpenPOWER on IntegriCloud