Skip to content
  • Devang Patel's avatar
    DebugLoc associated with a machine instruction is used to emit location... · 26ffa018
    Devang Patel authored
    DebugLoc associated with a machine instruction is used to emit location entries. DebugLoc associated with a DBG_VALUE is used to identify lexical scope of the variable. After register allocation, while inserting DBG_VALUE remember original debug location for the first instruction and reuse it, otherwise dwarf writer may be mislead in identifying the variable's scope.
    
    llvm-svn: 124845
    26ffa018
Loading