diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/Instrumentation/AddressSanitizer/ubsan.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/Instrumentation/AddressSanitizer/ubsan.ll')
-rw-r--r-- | test/Instrumentation/AddressSanitizer/ubsan.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Instrumentation/AddressSanitizer/ubsan.ll b/test/Instrumentation/AddressSanitizer/ubsan.ll index 5535efe..23b7ef4 100644 --- a/test/Instrumentation/AddressSanitizer/ubsan.ll +++ b/test/Instrumentation/AddressSanitizer/ubsan.ll @@ -17,9 +17,9 @@ define void @_Z3BarP1A(%struct.A* %a) uwtable sanitize_address { ; CHECK-LABEL: define void @_Z3BarP1A entry: %0 = bitcast %struct.A* %a to void (%struct.A*)*** - %vtable = load void (%struct.A*)*** %0, align 8 + %vtable = load void (%struct.A*)**, void (%struct.A*)*** %0, align 8 ; CHECK: __asan_report_load8 - %1 = load void (%struct.A*)** %vtable, align 8 + %1 = load void (%struct.A*)*, void (%struct.A*)** %vtable, align 8 ; CHECK: __asan_report_load8 %2 = ptrtoint void (%struct.A*)** %vtable to i64 %3 = xor i64 %2, -303164226014115343, !nosanitize !0 @@ -32,9 +32,9 @@ entry: %10 = xor i64 %9, %8, !nosanitize !0 %11 = mul i64 %10, -7070675565921424023, !nosanitize !0 %12 = and i64 %11, 127, !nosanitize !0 - %13 = getelementptr inbounds [128 x i64]* @__ubsan_vptr_type_cache, i64 0, i64 %12, !nosanitize !0 + %13 = getelementptr inbounds [128 x i64], [128 x i64]* @__ubsan_vptr_type_cache, i64 0, i64 %12, !nosanitize !0 ; CHECK-NOT: __asan_report_load8 - %14 = load i64* %13, align 8, !nosanitize !0 + %14 = load i64, i64* %13, align 8, !nosanitize !0 %15 = icmp eq i64 %14, %11, !nosanitize !0 br i1 %15, label %cont, label %handler.dynamic_type_cache_miss, !nosanitize !0 |