Open Quuxplusone opened 4 years ago
Bugzilla Link | PR45875 |
Status | NEW |
Importance | P normal |
Reported by | Ambre Williams (ambre@google.com) |
Reported on | 2020-05-11 08:23:44 -0700 |
Last modified on | 2020-05-12 16:13:03 -0700 |
Version | trunk |
Hardware | Other other |
CC | compnerd@compnerd.org, jgorbe@google.com, leonardchan@google.com, llvm-bugs@lists.llvm.org, peter@pcc.me.uk, roland@hack.frob.com, saugustine@google.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Based on the description of nounwind
in LangRef.rst, it should always be trumped by -fasynchronous-unwind-tables
, which should always be on for Fuchsia targets.
AFAICT no other uses of addFrameInst are gated on the function nounwind
attribute.
https://reviews.llvm.org/D54988 seems to only add the nounwind check to avoid emitting cfi directives because it's not "currently required" to adjust the scs register. Would a proper fix just be to disable remove the check?
I put a patch up on https://reviews.llvm.org/D79822 which removes the nounwind
check.