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 /clang/lib/CodeGen/BackendUtil.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 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index d4498eb..c736f38 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -454,6 +454,8 @@ static bool initTargetOptions(DiagnosticsEngine &Diags, Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile; Options.MCOptions.EmitDwarfUnwind = CodeGenOpts.getEmitDwarfUnwind(); + Options.MCOptions.EmitCompactUnwindNonCanonical = + CodeGenOpts.EmitCompactUnwindNonCanonical; Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll; Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; Options.MCOptions.MCUseDwarfDirectory = |