mirror of https://github.com/microsoft/clang.git
Tests: fix tests encoding specific hash values for 32-bit systems.
I changed the seed slightly, but forgot to run the tests on a 32-bit system, so tests which hard-code a specific hash value started breaking. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ead0755dee
commit
8bd548f654
|
@ -72,7 +72,7 @@ void member_access(S *p) {
|
|||
// The two hash values are for 64- and 32-bit Clang binaries, respectively.
|
||||
// FIXME: We should produce a 64-bit value either way.
|
||||
//
|
||||
// CHECK-NEXT: xor i64 {{-4030275160588942838|2562089159}}, %[[VPTR]]
|
||||
// CHECK-NEXT: xor i64 {{-4030275160588942838|1107558922}}, %[[VPTR]]
|
||||
// CHECK-NEXT: mul i64 {{.*}}, -7070675565921424023
|
||||
// CHECK-NEXT: lshr i64 {{.*}}, 47
|
||||
// CHECK-NEXT: xor i64
|
||||
|
@ -121,7 +121,7 @@ void member_access(S *p) {
|
|||
// (3b) Check that 'p' actually points to an 'S'
|
||||
|
||||
// CHECK: load i64, i64*
|
||||
// CHECK-NEXT: xor i64 {{-4030275160588942838|2562089159}},
|
||||
// CHECK-NEXT: xor i64 {{-4030275160588942838|1107558922}},
|
||||
// [...]
|
||||
// CHECK: getelementptr inbounds [128 x i64], [128 x i64]* @__ubsan_vptr_type_cache, i32 0, i64 %
|
||||
// CHECK: br i1
|
||||
|
|
Loading…
Reference in New Issue