mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
3f66a78716
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 |
||
---|---|---|
.. | ||
call-site.ll | ||
dbg-declare.ll | ||
dbg-loop-loc.ll | ||
dbg-value-dwarfdump.ll | ||
dbg-value-list.ll | ||
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 | ||
fission-cu.ll | ||
fission-sections.ll | ||
lit.local.cfg |