Skip to content
  • Mike Stump's avatar
    Add a way for a frontend to generate more complex dwarf location · 14cf8ecf
    Mike Stump authored
    information.  This allows arbitrary code involving DW_OP_plus_uconst
    and DW_OP_deref.  The scheme allows for easy extention to include,
    any, or all of the DW_OP_ opcodes.  I thought about just exposing all
    of them, but, wasn't sure if people wanted the dwarf opcodes exposed
    in the api.  Is that a layering violation?
    
    With this scheme, the entire existing block scheme used by llvm-gcc
    can be switched over to the new scheme.  I think that would be
    cleaner, as then the compiler specific bits are not present in llvm
    proper.  Before the old code can be yanked however, similar code in
    clang would have to be removed.
    
    Next up, more testing.
    
    llvm-svn: 83120
    14cf8ecf
Loading