[PATCH] D46628: [ELF] Add --strip-debug-non-line option

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 09:20:05 PDT 2018


aprantl added inline comments.


================
Comment at: test/ELF/strip-debug-non-line.s:1
+# REQUIRES: x86
+# RUN: llvm-mc -g -filetype=obj -triple=x86_64-unknown-linux %s -o %t
----------------
ruiu wrote:
> I wonder if there's a way to verify that the debug info generated by --strip-debug-non-line is valid. (Say, if we accidentally removed .debug_str for that option, the result wouldn't work, so I want to make sure that the result can be consumed by the debugger, for example.)
llvm-dwarfdump --verify ?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46628





More information about the llvm-commits mailing list