[llvm] [XCOFF] Support the subtype in Dwarf section headers (PR #81667)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 15 02:18:18 PST 2024
================
@@ -95,6 +95,13 @@ Error XCOFFDumper::dumpSections(ArrayRef<Shdr> Sections) {
YamlSec.FileOffsetToRelocations = S.FileOffsetToRelocationInfo;
YamlSec.FileOffsetToLineNumbers = S.FileOffsetToLineNumberInfo;
YamlSec.Flags = S.Flags;
+ if (YamlSec.Flags & XCOFF::STYP_DWARF) {
+ unsigned mask = Obj.is64Bit()
----------------
jh7370 wrote:
Naming style.
https://github.com/llvm/llvm-project/pull/81667
More information about the llvm-commits
mailing list