[PATCH] D61960: [AArch64] only indicate CFI on Windows if we emitted CFI
Nathan Froyd via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 13:29:15 PDT 2019
froydnj created this revision.
froydnj added reviewers: mstorsjo, eli.friedman.
Herald added subscribers: llvm-commits, kristof.beyls, javed.absar.
Herald added a project: LLVM.
Otherwise, we emit directives for CFI without any actual CFI opcodes to
go with them, which causes tools to malfunction. The technique is
similar to what the x86 backend already does.
Fixes https://bugs.llvm.org/show_bug.cgi?id=40876
Repository:
rL LLVM
https://reviews.llvm.org/D61960
Files:
lib/Target/AArch64/AArch64FrameLowering.cpp
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64InstrInfo.h
test/CodeGen/AArch64/win64-nocfi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61960.199671.patch
Type: text/x-patch
Size: 15106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/ff606ffd/attachment.bin>
More information about the llvm-commits
mailing list