[PATCH] D142572: [AArch64] fix bug #55005 handle DW_CFA_GNU_window_save
Sebastian Pop via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 12:02:03 PST 2023
sebpop updated this revision to Diff 492216.
sebpop retitled this revision from "[AArch64] fix bug #55005" to "[AArch64] fix bug #55005 handle DW_CFA_GNU_window_save".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142572/new/
https://reviews.llvm.org/D142572
Files:
bolt/lib/Core/Exceptions.cpp
Index: bolt/lib/Core/Exceptions.cpp
===================================================================
--- bolt/lib/Core/Exceptions.cpp
+++ bolt/lib/Core/Exceptions.cpp
@@ -626,11 +626,13 @@
errs() << "BOLT-WARNING: DW_CFA_MIPS_advance_loc unimplemented\n";
return false;
case DW_CFA_GNU_window_save:
+ Function.addCFIInstruction(
+ Offset, MCCFIInstruction::createNegateRAState(nullptr));
+ break;
case DW_CFA_lo_user:
case DW_CFA_hi_user:
if (opts::Verbosity >= 1) {
- errs() << "BOLT-WARNING: DW_CFA_GNU_* and DW_CFA_*_user "
- "unimplemented\n";
+ errs() << "BOLT-WARNING: DW_CFA_*_user unimplemented\n";
}
return false;
default:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142572.492216.patch
Type: text/x-patch
Size: 742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230125/91ad5964/attachment.bin>
More information about the llvm-commits
mailing list