[llvm-dev] [Exception Handling] Is the default -funwind-tables still required on x86?

Stefan Pintilie via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 27 07:59:32 PDT 2018


Hi All, 

Recently I fixed a bug that was exposed on PowerPC relating to missing 
unwind tables.

Bug:
https://bugs.llvm.org/show_bug.cgi?id=32611

Patch For Fix:
https://reviews.llvm.org/D50987

The bug was not exposed on x86 because the option -funwind-tables is on by 
default and so the uwtable attribute is added to all functions on x86. 
With the fix an unwind table is added to any function that has an error 
handling personality. My questions: 1) Why is -funwind-tables default on 
x86? 2) Does it still need to be default now that this fix is in?

Thank you, 
Stefan 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180827/4e33456f/attachment.html>


More information about the llvm-dev mailing list