[PATCH] D44562: [ELF] Rework debug line parsing to use llvm::Error and callbacks (LLD-side)

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 19 14:24:06 PDT 2018


espindola added inline comments.


================
Comment at: test/ELF/undef.s:37
 
+# CHECK: warning: parsing line table prologue at 0x00000000 should have ended at 0x00000038 but it ended at 0x00000037
 # CHECK: error: undefined symbol: zed6
----------------
I think I agree with George about producing an error on corrupted output. In practice we expect to never see it, so we may as well make the code simpler.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44562





More information about the llvm-commits mailing list