diff options
author | Nico Weber <thakis@chromium.org> | 2023-05-19 09:40:06 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2023-05-19 09:40:54 -0400 |
commit | 4980eead4d0b4666d53dad07afb091375b3a13a0 (patch) | |
tree | 59705c30dba27884095ae0a917c70cf1b3f43ae1 /llvm/lib/MC/MCStreamer.cpp | |
parent | 62eecbc9bdbc26448798edcc2ca1899f16a61db1 (diff) | |
download | llvm-4980eead4d0b4666d53dad07afb091375b3a13a0.zip llvm-4980eead4d0b4666d53dad07afb091375b3a13a0.tar.gz llvm-4980eead4d0b4666d53dad07afb091375b3a13a0.tar.bz2 |
Revert "[RFC][MC][MachO]Only emits compact-unwind format for "canonical" personality symbols. For the rest, use DWARFs."
This reverts commit 09aaf53a05e3786eea374f3ce57574225036412d.
Causes toolchain asserts building libc++ for x86_64,
see https://reviews.llvm.org/D144999#4356215
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index c0e9f42..0cb0459 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/lib/MC/MCStreamer.cpp @@ -126,7 +126,7 @@ void MCStreamer::emitExplicitComments() {} void MCStreamer::generateCompactUnwindEncodings(MCAsmBackend *MAB) { for (auto &FI : DwarfFrameInfos) FI.CompactUnwindEncoding = - (MAB ? MAB->generateCompactUnwindEncoding(&FI, &Context) : 0); + (MAB ? MAB->generateCompactUnwindEncoding(FI.Instructions) : 0); } /// EmitIntValue - Special case of EmitValue that avoids the client having to |