[PATCH] D95518: [Debug-Info][XCOFF] support dwarf for XCOFF in assembly path
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 05:25:21 PST 2021
shchenz created this revision.
shchenz added reviewers: echristo, ikudrin, MaskRay, hubert.reinterpretcast, jasonliu, jsji, PowerPC.
Herald added subscribers: kbarton, hiraditya, nemanjai.
shchenz requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
This patch supports dwarf debugging info for XCOFF format in the assembly path. Object path will be handled in followup patches.
Since I can not get the assembly file been assembled, I verify the debug info by checking the assembly files.
I have done some testing on the AIX system, this patch works well for some cases at 32-bit XCOFF.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95518
Files:
llvm/include/llvm/MC/MCAsmInfo.h
llvm/include/llvm/MC/MCAsmStreamer.h
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCDwarf.h
llvm/include/llvm/MC/MCSectionXCOFF.h
llvm/include/llvm/MC/MCStreamer.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/MC/MCAsmInfoXCOFF.cpp
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCDwarf.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCSectionXCOFF.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/test/CodeGen/PowerPC/aix-alias.ll
llvm/test/DebugInfo/XCOFF/empty.ll
llvm/test/DebugInfo/XCOFF/lit.local.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95518.319535.patch
Type: text/x-patch
Size: 52906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/a6c38481/attachment-0001.bin>
More information about the llvm-commits
mailing list