[PATCH] D29372: [libFuzzer] llvm-objdump doesn't show the same info that objdump on DSO.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 10:10:50 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293791: [libFuzzer] Do not use llvm-objdump for disassembling a DSO. (authored by mpividori).
Changed prior to commit:
https://reviews.llvm.org/D29372?vs=86574&id=86665#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29372
Files:
llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
Index: llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
===================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
+++ llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
@@ -181,10 +181,7 @@
std::string DisassembleCmd(const std::string &FileName) {
if (ExecuteCommand("dumpbin /summary > nul") == 0)
return "dumpbin /disasm " + FileName;
- if (ExecuteCommand("llvm-objdump > nul") == 0)
- return "llvm-objdump -d " + FileName;
- Printf("libFuzzer: couldn't find tool to disassemble (dumpbin, "
- "llvm-objdump)\n");
+ Printf("libFuzzer: couldn't find tool to disassemble (dumpbin)\n");
exit(1);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29372.86665.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/812a301e/attachment.bin>
More information about the llvm-commits
mailing list