[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:26:49 PDT 2018


espindola added inline comments.


================
Comment at: ELF/InputFiles.cpp:130
+  // built via -r links or LTO. See PR36793.
+  if (LineData.isValidOffset(0)) {
+    Expected<const DWARFDebugLine::LineTable *> ErrOrLineTable =
----------------
When do we expect to have LineData that doesn't include the current CU?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44562





More information about the llvm-commits mailing list