Skip to content

Commit

Permalink
[BOLT][TEST] Update exceptions-instrumentation.test
Browse files Browse the repository at this point in the history
Matching an exact byte offset is fragile if a different version of compiler
is used (e.g. distro clang).
Resolves an issue with running with BOLT_CLANG_EXE + clang-12

Reviewed By: maksfb

Differential Revision: https://reviews.llvm.org/D117440
  • Loading branch information
aaupov committed Jan 18, 2022
1 parent 5b9358d commit 90ada97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt/test/runtime/X86/exceptions-instrumentation.test
Expand Up @@ -18,4 +18,4 @@ CHECK-READELF: FUNC LOCAL DEFAULT {{.*}} main.cold.{{.*}}

RUN: cat %t.fdata | FileCheck --check-prefix=EXCEPTIONS-FDATA %s
# Check that the printf "catch" ran exactly 10 times
EXCEPTIONS-FDATA: 1 main 90 1 _Znwm@PLT 0 0 10
EXCEPTIONS-FDATA: 1 main {{.*}} 1 _Znwm@PLT 0 0 10

0 comments on commit 90ada97

Please sign in to comment.