[PATCH] D75234: [LLD] Report errors occurred while parsing debug info as warnings.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 10:43:10 PST 2020


avl marked an inline comment as done.
avl added inline comments.


================
Comment at: lld/test/ELF/gdb-index-parse-fail.s:5
 
-# CHECK: error: {{.*}}:(.debug_info): invalid reference to or invalid content in .debug_str_offsets[.dwo]: insufficient space for 32 bit header prefix
+# CHECK: warning: {{.*}}:{{(\(\.debug_info\):)?}} invalid reference to or invalid content in .debug_str_offsets[.dwo]: insufficient space for 32 bit header prefix
 
----------------
MaskRay wrote:
> Why the `?` metacharacter?
To have one or zero "(.debug_info):". Please check that description https://reviews.llvm.org/D74773#inline-683778


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75234





More information about the llvm-commits mailing list