[PATCH] D148654: Modify BoundsSan to improve debuggability

Oskar Wirga via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 18:10:12 PDT 2023


oskarwirga added a comment.

In D148654#4312478 <https://reviews.llvm.org/D148654#4312478>, @smeenai wrote:

> Thinking about this a bit more, should the trap not have an associated stack trace that can be symbolicated to tell you which line of code was crashing? If the issue is that multiple traps can get folded together, the `nomerge` attribute (D78659 <https://reviews.llvm.org/D78659>) could be useful.

I tried adding the `nomerge` attribute to `TrapCall` but I still found the call being optimized to a single site :(


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148654



More information about the cfe-commits mailing list