[PATCH] D107324: [llvm-objcopy] [COFF] Do not patch debug entries with Repro type

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 00:48:45 PDT 2021


mstorsjo added inline comments.


================
Comment at: llvm/test/tools/llvm-objcopy/COFF/strip-brepro.test:5
+# RUN: yaml2obj %s -o %t.exe
+# RUN: llvm-objcopy -S -x %t.exe
+
----------------
jhenderson wrote:
> Shouldn't there be some check after this line to show that it's been stripped?
I guess the intent of this test isn't to test stripping in itself, but that llvm-objcopy doesn't bail out while processing an executable with this content in it; the executable as such doesn't seem to contain anything that can be stripped out either. But making this clearer in the test comment would be good I guess.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107324



More information about the llvm-commits mailing list