[PATCH] D135889: [lld/mac] Add test for bug fixed in reland 82ca390062d115

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 09:54:03 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3ab947ede034: [lld/mac] Add test for bug fixed in reland 82ca390062d115 (authored by thakis).
Herald added a project: LLVM.

Changed prior to commit:
  https://reviews.llvm.org/D135889?vs=467500&id=467515#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135889

Files:
  lld/test/MachO/undef-spell-corrector.s


Index: lld/test/MachO/undef-spell-corrector.s
===================================================================
--- lld/test/MachO/undef-spell-corrector.s
+++ lld/test/MachO/undef-spell-corrector.s
@@ -86,6 +86,13 @@
 call abcd
 call abde
 
+# Creates a nullptr entry in ObjFile::symbols, to test we don't crash on that.
+.section  __DWARF,__debug_aranges,regular,debug
+ltmp1:
+  .byte 0
+
+.subsections_via_symbols
+
 #--- bbcde-abcdd.s
 call bbcde
 call abcdd


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135889.467515.patch
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221013/7a0a9395/attachment.bin>


More information about the llvm-commits mailing list