chrib added a comment. OK, we can refine so that unwind-table is also not generated for C++ -fno-exceptions.
To summarize this gives or C++ : | | Unwind (table) | Exceptions (can throw) | | default | Y | Y | | fno-unwind | N | Y (1) | | fno-exceptions | N | N | (1) without unwind, no handler can be found so the default is to terminate. for C : | | Unwind (table) | Exceptions (can throw) | | default | N | N | | funwind | Y | N | | fexceptions | Y | N | Cheers, https://reviews.llvm.org/D31140 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits