Page MenuHomePhabricator

[DebugInfo] Handle dbg.values with multiple variable location operands in ISel
Needs ReviewPublic

Authored by StephenTozer on Sep 30 2020, 9:53 AM.

Details

Summary

This patch continues implementing the ISel support for multi-location-operand debug values by reading and processing dbg.values that use DIArgList. This patch does not add support for producing DBG_VALUE_LIST; that is added in a separate patch in this stack.

The most substantial change is naturally in handleDebugValue and some of the functions that it calls. Outside of this, salvageDebugInfo and transferDbgValues have been modified to replace individual operands instead of the entire value; dangling debug info for variadic debug values is not currently supported (but may be added in a later patch).

Diff Detail