[PATCH] D115485: [DwarfDebug] Prioritise DWARF filename in debuginfo over MC Target Options
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 10 11:59:47 PST 2021
dblaikie added a comment.
I /think/ this is the wrong direction.
"split dwarf file" is meant to be the name that goes in the dwo_name
"split dwarf output" is the name of the actual output file, and doesn't have to be the same as the "split dwarf file".
I guess currently this is only exposed in -cc1/llc/etc, and not in the clang driver (the only thing that causes split dwarf file/output to differ.
At the LLVM level in this patch, if you want the physical file to be something other than `SplitDwarfFile`, then that can be achieved by creating a different/non-null raw_pwrite_stream for the DwoOS parameter here: https://github.com/llvm/llvm-project/blob/bebfbfd4a82573e27171b4adf239c9804fa6d656/clang/lib/CodeGen/BackendUtil.cpp#L1075
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115485/new/
https://reviews.llvm.org/D115485
More information about the llvm-commits
mailing list