https://bugs.llvm.org/show_bug.cgi?id=38991

            Bug ID: 38991
           Summary: llvm-dwarfdump doesn't dump contents of debug_loc.dwo
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedb...@nondot.org
          Reporter: dblai...@gmail.com
                CC: llvm-bugs@lists.llvm.org

take a .dwo file and llvm-dwarfdump -debug-loc and it won't print the
debug_loc.dwo section. Even if you also pass -debug-info to ensure that it
dumps both, or that the info section is parsed so that the loc section can be
parsed (if it's contingent like that - as some of the sections are). Even
though this works with a .o file, even with only -debug-loc.

For a short example with a loc list:

  void a(int i) { asm("" : : : "rdi"); }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to