diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 20:18:21 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 20:18:21 +0000 |
| commit | f10061ec708ef787398649f3eb073c6ca3acd73d (patch) | |
| tree | 5949d7ce9679b7e663a7f4fad605cddae4c5199c /llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll | |
| parent | 324c99dee5096be095adc3972c4a512ca0f74090 (diff) | |
| download | bcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.tar.gz bcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.zip | |
Add address space mangling to lifetime intrinsics
In preparation for allowing allocas to have non-0 addrspace.
llvm-svn: 299876
Diffstat (limited to 'llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll')
| -rw-r--r-- | llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll b/llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll index 6d0cbd9ad5a..ff03d10c7c5 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll +++ b/llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll @@ -23,7 +23,7 @@ entry: ; Poison memory in prologue: F1F1F1F1F8F3F3F3 ; CHECK: store i64 -868082052615769615, i64* %{{[0-9]+}} - call void @llvm.lifetime.start(i64 4, i8* %0) + call void @llvm.lifetime.start.p0i8(i64 4, i8* %0) ; CHECK: store i8 4, i8* %{{[0-9]+}} ; CHECK-NEXT: @llvm.lifetime.start @@ -37,7 +37,7 @@ lpad: %1 = landingpad { i8*, i32 } cleanup call void @_ZN3ABCD2Ev(%struct.ABC* nonnull %x) - call void @llvm.lifetime.end(i64 4, i8* %0) + call void @llvm.lifetime.end.p0i8(i64 4, i8* %0) ; CHECK: store i8 -8, i8* %{{[0-9]+}} ; CHECK-NEXT: @llvm.lifetime.end @@ -77,7 +77,7 @@ entry: ; Poison memory in prologue: F1F1F1F1F8F304F2 ; CHECK: store i64 -935355671561244175, i64* %{{[0-9]+}} - call void @llvm.lifetime.start(i64 4, i8* %0) + call void @llvm.lifetime.start.p0i8(i64 4, i8* %0) ; CHECK: store i8 4, i8* %{{[0-9]+}} ; CHECK-NEXT: @llvm.lifetime.start @@ -90,7 +90,7 @@ entry: ehcleanup: %2 = cleanuppad within none [] call void @"\01??1ABC@@QEAA@XZ"(%struct.ABC* nonnull %x) [ "funclet"(token %2) ] - call void @llvm.lifetime.end(i64 4, i8* %0) + call void @llvm.lifetime.end.p0i8(i64 4, i8* %0) ; CHECK: store i8 -8, i8* %{{[0-9]+}} ; CHECK-NEXT: @llvm.lifetime.end @@ -104,8 +104,8 @@ unreachable: declare i32 @__gxx_personality_v0(...) -declare void @llvm.lifetime.start(i64, i8* nocapture) -declare void @llvm.lifetime.end(i64, i8* nocapture) +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) declare void @__cxa_throw(i8*, i8*, i8*) local_unnamed_addr declare i8* @__cxa_allocate_exception(i64) local_unnamed_addr declare void @_ZN3ABCD2Ev(%struct.ABC* %this) unnamed_addr |

