[all-commits] [llvm/llvm-project] 0541a9: [DWARFDebugLoc] Tweak error message when resolving...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Jan 9 01:17:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0541a9d4e7f85c1f08f27fe0c0cae293bbb3903a
      https://github.com/llvm/llvm-project/commit/0541a9d4e7f85c1f08f27fe0c0cae293bbb3903a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp

  Log Message:
  -----------
  [DWARFDebugLoc] Tweak error message when resolving offset pairs with no base address

The previous message mentioned DW_LLE_offset_pair, but this is
incorrect/confusing because we can get this message even with DWARF4
(which does not use DW_LLE encodings). This happens because DWARF<=4
location entries are "upgraded" to DWARF v5 during parsing.

The new error message refrains from referencing specific constants.
Fixes pr44482.




More information about the All-commits mailing list