Information about stack offset for arguments passed on the stack are complete after the PrologEpilogInserter pass. We're saving that information, and using them later in the phase of DWARF emitting.
If they're available, interpret information about call-site-value, collected on IR level - through the DebugEntryValuesCallSite pass and location information for arguments.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Interesting patch series! Just adding some stylistic comments whilst reading through the code.
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | ||
---|---|---|
893 | Since the value is used unconditionally, this should perhaps be a cast<>? | |
897–899 | Nit: Can be reduced to: CollectStackFwdParams = CallFwdStackInfo != CalleesStackMap.end() | |
930–931 | Perhaps worth considering merging this with the register loop if we only think that the only difference will be the produced DbgCallSiteParam? Or do we foresee larger differences? |
Since the value is used unconditionally, this should perhaps be a cast<>?