[PATCH] D53618: [AArch64] [Windows] Emit unwind tables by default.
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 23 15:30:04 PDT 2018
efriedma created this revision.
efriedma added a reviewer: rnk.
Herald added subscribers: chrib, kristof.beyls, javed.absar.
Unwind tables are necessary even in code that doesn't support exceptions. Among other things, the tables are used for setjmp(), and by debuggers.
Depends on https://reviews.llvm.org/D50288 so LLVM can emit the unwind tables.
Repository:
rC Clang
https://reviews.llvm.org/D53618
Files:
lib/Driver/ToolChains/MSVC.cpp
Index: lib/Driver/ToolChains/MSVC.cpp
===================================================================
--- lib/Driver/ToolChains/MSVC.cpp
+++ lib/Driver/ToolChains/MSVC.cpp
@@ -730,7 +730,8 @@
if (getTriple().isOSBinFormatMachO())
return false;
- return getArch() == llvm::Triple::x86_64;
+ return getArch() == llvm::Triple::x86_64 ||
+ getArch() == llvm::Triple::aarch64;
}
bool MSVCToolChain::isPICDefault() const {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53618.170767.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181023/368f1f26/attachment.bin>
More information about the cfe-commits
mailing list