mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Emit dwarf variable info communicated by code generator through DBG_VALUE machine instructions.
This is a work in progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98556 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -368,8 +368,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
|
||||
static void SetDebugLoc(unsigned MDDbgKind, Instruction *I,
|
||||
SelectionDAGBuilder *SDB,
|
||||
FastISel *FastIS, MachineFunction *MF) {
|
||||
if (isa<DbgInfoIntrinsic>(I)) return;
|
||||
|
||||
if (MDNode *Dbg = I->getMetadata(MDDbgKind)) {
|
||||
DILocation DILoc(Dbg);
|
||||
DebugLoc Loc = ExtractDebugLocation(DILoc, MF->getDebugLocInfo());
|
||||
|
Reference in New Issue
Block a user