diff options
author | Vy Nguyen <vyng@google.com> | 2023-06-06 14:00:47 -0400 |
---|---|---|
committer | Vy Nguyen <vyng@google.com> | 2023-06-07 10:03:50 -0400 |
commit | e60b30d5e3878e7d91f8872ec4c4dca00d4a2dfc (patch) | |
tree | 91674a55081d3968d264d0a68224f3b1b15f2a1f /llvm/lib/MC/MCStreamer.cpp | |
parent | 2eb84c3ae2bf6c918c20cbe1c315e2f4683056f4 (diff) | |
download | llvm-e60b30d5e3878e7d91f8872ec4c4dca00d4a2dfc.zip llvm-e60b30d5e3878e7d91f8872ec4c4dca00d4a2dfc.tar.gz llvm-e60b30d5e3878e7d91f8872ec4c4dca00d4a2dfc.tar.bz2 |
Reland "D144999 [MC][MachO]Only emits compact-unwind format for "canonical" personality symbols. For the rest, use DWARFs."
Reasons for rolling forward:
- the crash reported from Chromium was fixed in D151824 (not related to this patch at all)
- since D152824 was committed, it should now be safe to roll this forward.
New change:
- add an additional _ in name check
This reverts commit 4980eead4d0b4666d53dad07afb091375b3a13a0.
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 0cb0459..c0e9f42 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.Instructions) : 0); + (MAB ? MAB->generateCompactUnwindEncoding(&FI, &Context) : 0); } /// EmitIntValue - Special case of EmitValue that avoids the client having to |