[PATCH] D128696: [BOLT] Fix trampoline code for shared libraries and PIEs

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 17:27:30 PDT 2022


maksfb added inline comments.


================
Comment at: bolt/test/runtime/X86/pie-exceptions-failed-split.test:31-33
+CHECK-DAG: Exec Count
+CHECK-NOT: Exec Count
+CHECK-DAG: callq   __cxa_begin_catch
----------------
rafauler wrote:
> not sure what's the intent of using check-dag here instead of regular CHECK:
I want to check that `__cxa_begin_catch` is in the same (successor) block. Maybe there's a better way? With `CHECK-DAG` it makes sure there's no another block (with "Exec Count") in between.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128696/new/

https://reviews.llvm.org/D128696



More information about the llvm-commits mailing list