Details
Diff Detail
Event Timeline
test/tools/llvm-objcopy/ELF/strip-symbol.test | ||
---|---|---|
2 | Please use a different output file for each test case. Probably easiest is to put this after the llvm-objcopy case and use %t3 instead. | |
tools/llvm-objcopy/CopyConfig.cpp | ||
435–436 | I'm not sure I like checking InputArgs here, since it looks weird compared to the other cases. Perhaps the better thing to do would be to move this entire if clause to after the for loops, and then check if the SymbolsToRemove vector is empty. |
This option exists in objcopy too, can you add it to ObjcopyOpts.td and handle it in the other args parsing block too?
tools/llvm-objcopy/StripOpts.td | ||
---|---|---|
55 | Nit: looks like this isn't indented right, it should align w/ Eq Note: clang-format (from trunk) can fix these simple tablegen files, with the exception that it puts in spaces around ["-"] that you have to revert -- try git-clang-format --extensions td --binary ~/build/clang-format master (I'm trying to submit a couple patches to fix that) |
Please use a different output file for each test case. Probably easiest is to put this after the llvm-objcopy case and use %t3 instead.