[PATCH] D117440: [BOLT][TEST] Update exceptions-instrumentation.test

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 16 13:32:41 PST 2022


Amir created this revision.
Amir added reviewers: maksfb, rafauler.
Herald added a subscriber: ayermolo.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117440

Files:
  bolt/test/runtime/X86/exceptions-instrumentation.test


Index: bolt/test/runtime/X86/exceptions-instrumentation.test
===================================================================
--- bolt/test/runtime/X86/exceptions-instrumentation.test
+++ bolt/test/runtime/X86/exceptions-instrumentation.test
@@ -18,4 +18,4 @@
 
 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 at PLT 0 0 10
+EXCEPTIONS-FDATA: 1 main {{.*}} 1 _Znwm at PLT 0 0 10


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117440.400403.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220116/4d699db8/attachment.bin>


More information about the llvm-commits mailing list