llvm/tools
JF Bastien 7b862ec88e bugpoint Enhancement.
Summary:
This patch adds two flags to `bugpoint`: "-replace-funcs-with-null" and "-disable-pass-list-reduction".

When "-replace-funcs-with-null" is specified, bugpoint will, instead of simply deleting function bodies, replace all uses of functions and then will delete functions completely from the test module, correctly handling aliasing and @llvm.used && @llvm.compiler.used. This part was conceived while trying to debug the PNaCl IR simplification passes, which don't allow undefined functions (ie no declarations).

With "-disable-pass-list-reduction", bugpoint won't try to reduce the set of passes causing the "crash". This is needed in cases where one is trying to debug an issue inside the PNaCl IR simplification passes which is causing an PNaCl ABI verification error, for example.

Reviewers: jfb

Reviewed By: jfb

Subscribers: jfb, llvm-commits

Differential Revision: http://reviews.llvm.org/D8555

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235362 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-20 23:42:22 +00:00
..
bugpoint bugpoint Enhancement. 2015-04-20 23:42:22 +00:00
bugpoint-passes bugpoint Enhancement. 2015-04-20 23:42:22 +00:00
dsymutil
gold
llc
lli Remove the JITEmitDebugInfo TargetOptions as they're only set and 2015-04-19 03:20:51 +00:00
llvm-ar
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov
llvm-cxxdump
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-go
llvm-jitlistener
llvm-link
llvm-lto
llvm-mc Add targets to cmake for specific target components. 2015-04-20 18:22:05 +00:00
llvm-mcmarkup
llvm-nm
llvm-objdump For llvm-objdump, dump the (__OBJC,__protocol) section for Objc1 32-bit Mach-O files 2015-04-16 22:33:20 +00:00
llvm-pdbdump [PDB] Support executables and source/line info. 2015-04-17 22:40:36 +00:00
llvm-profdata
llvm-readobj [Mips] Support DT_MIPS_OPTIONS dynamic section tag in the llvm-readobj 2015-04-20 05:34:48 +00:00
llvm-rtdyld [RuntimeDyld] Work around a bug in RuntimeDyldELF exposed by r234839. 2015-04-15 21:18:41 +00:00
llvm-shlib Updating symbol wildcards one more time. 2015-04-16 21:58:22 +00:00
llvm-size
llvm-stress
llvm-symbolizer
lto [LTO API] add lto_codegen_set_should_internalize. 2015-04-17 17:10:09 +00:00
macho-dump
msbuild
obj2yaml
opt DebugInfo: Delete DIDescriptor (but not its subclasses) 2015-04-18 00:35:36 +00:00
verify-uselistorder
yaml2obj
CMakeLists.txt
LLVMBuild.txt
Makefile