[Lldb-commits] [PATCH] D81334: [lldb] Fix DW_TAG_GNU_call_site-DW_AT_low_pc as produced by GCC

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 7 05:17:03 PDT 2020


jankratochvil updated this revision to Diff 269047.
jankratochvil retitled this revision from "[lldb] Fix DW_TAG_GNU_call_site-DW_AT_low_pc" to "[lldb] Fix DW_TAG_GNU_call_site-DW_AT_low_pc as produced by GCC".
jankratochvil added a comment.

  # This tests that lldb is compatible with DWARF-4 entry values GNU extension
  # with DW_TAG_GNU_call_site attributes order as produced by GCC:
  # 0x000000b1:     DW_TAG_GNU_call_site
  #                   DW_AT_low_pc  (0x000000000040111e)
  #                   DW_AT_abstract_origin (0x000000cc "a")
  # clang produces the attributes in opposite order:
  # 0x00000064:     DW_TAG_GNU_call_site
  #                   DW_AT_abstract_origin (0x0000002a "a")
  #                   DW_AT_low_pc  (0x0000000000401146)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81334/new/

https://reviews.llvm.org/D81334

Files:
  lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
  lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81334.269047.patch
Type: text/x-patch
Size: 12209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200607/62d3cbb6/attachment.bin>


More information about the lldb-commits mailing list