llvm-project/llvm/test/DebugInfo/WebAssembly
Heejin Ahn 5dd86aadf0 [WebAssembly] Add TargetInstrInfo::getCalleeOperand
DwarfDebug unconditionally assumes for all call instructions the 0th
operand is the callee operand, which seems to be true for other targets,
but not for WebAssembly. This adds `TargetInstrInfo::getCallOperand`
method whose default implementation returns `getOperand(0)` and makes
WebAssembly overrides it to use its own utility method to get the callee
operand.

This also fixes an existing bug in `WebAssembly::getCalleeOp`, which was
uncovered by this CL.

Reviewed By: dschuff, djtodoro

Differential Revision: https://reviews.llvm.org/D102978
2021-05-26 11:43:59 -07:00
..
call-site.ll [WebAssembly] Add TargetInstrInfo::getCalleeOperand 2021-05-26 11:43:59 -07:00
dbg-declare.ll
dbg-loop-loc.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
dbg-value-dwarfdump.ll
dbg-value-list.ll [WebAssembly] Add NullifyDebugValueLists pass 2021-05-24 11:36:01 -07:00
dbg-value-live-interval.ll
dbg-value-move-2.ll
dbg-value-move-clone.mir
dbg-value-move-reg-stackify.mir
dbg-value-move.ll
dbg-value-ti.ll
dwarf-headers.ll [WebAssembly] Add Object and ObjectWriter support for wasm COMDAT sections 2020-12-07 12:12:44 -08:00
fission-cu.ll
fission-sections.ll
lit.local.cfg