[PATCH] D31140: [LLVMbugs] [Bug 18710] Only generate .ARM.exidx and .ARM.extab when needed in EHABI

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 15:23:52 PDT 2017


efriedma added inline comments.


================
Comment at: lib/Driver/ToolChains/BareMetal.cpp:61
+bool BareMetal::IsUnwindTablesDefault(const ArgList &Args) const {
+  return getDriver().CCCIsCXX();
+}
----------------
This still seems weird.  In most situations, I would expect you want the same behavior for C code and C++ with -fno-exceptions.  On other platforms, we get that behavior by just returning false (the default).


https://reviews.llvm.org/D31140





More information about the cfe-commits mailing list