[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM
Rafael EspĂndola
rafael.espindola at gmail.com
Sun Feb 9 18:59:52 PST 2014
> I disagree on this. Table emission by itself doesn't involve code
> generation and I don't think it makes sense as a per function attribute
> either. You either want it for all functions or only when needed (e.g.
> exceptions are possible). As such, it makes perfect sense to me as a
> global flag.
It has to be an attribute because of LTO. You can LTO a file compiled
with -fasynchronous-unwind-tables and one with
-fno-asynchronous-unwind-tables. That is why we have the uwtable
attribute.
Cheers,
Rafael
More information about the llvm-dev
mailing list