[PATCH] D145164: [clang][RISCV] Enable -fasynchronous-unwind-tables by default on Linux

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 2 11:18:01 PST 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

LG since GCC made a similar change and this matches several major architectures on Linux/other ELF based operating systems.

(At heart I think `-fasynchronous-unwind-tables` is not a good default. I agree with https://blogs.gnome.org/chergert/2022/12/31/frame-pointers-and-other-practical-near-term-solutions/ which has said:
"Again, I don’t think any of us like frame pointers, just that they are generally lower effort today while also being reasonably reliable.")


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145164



More information about the cfe-commits mailing list