[PATCH] D148654: Modify BoundsSan to improve debuggability

Oskar Wirga via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 11:49:04 PDT 2023


oskarwirga updated this revision to Diff 519190.
oskarwirga edited the summary of this revision.
oskarwirga added a comment.

Turns out the lowering of ubsantrap() to a single instruction resulted in binaries that did NOT have nonmerged traps, so this is going back to what we had before. I also added tests to show that the trap gets preserved.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148654

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/test/CodeGen/bounds-checking.c
  llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148654.519190.patch
Type: text/x-patch
Size: 8201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230503/9aee2b8f/attachment.bin>


More information about the cfe-commits mailing list