[PATCH] D122258: [MC] Omit DWARF unwind info if compact unwind is present where eligible
Jez Ng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 5 11:11:49 PDT 2022
int3 added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:456
Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile;
+ Options.MCOptions.EmitDwarfUnwind = CodeGenOpts.getEmitDwarfUnwind();
Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll;
----------------
this code doesn't execute if clang is passed an assembly file instead of a .c file, so this option doesn't have the desired effect on assembly inputs. I'm not sure what's the right way to tackle this, or if this behavior inconsistency is acceptable
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122258/new/
https://reviews.llvm.org/D122258
More information about the cfe-commits
mailing list