[PATCH] D38078: [dsymutil] Don't resolve DIE reference to NULL DIE.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 06:07:48 PDT 2017


JDevlieghere created this revision.

This patch prevents dsymutil from resolving a reference to a NULL DIE
when a bogus reference happens to be coincidentally referencing a NULL
DIE. Now this is detected as an invalid reference and a warning is
printed.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D38078

Files:
  test/tools/dsymutil/Inputs/null_die
  test/tools/dsymutil/Inputs/null_die.o
  test/tools/dsymutil/X86/null-die.s
  tools/dsymutil/DwarfLinker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38078.115993.patch
Type: text/x-patch
Size: 21899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/66aae887/attachment.bin>


More information about the llvm-commits mailing list