llvm-6502/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 Fix build error from r234957 2015-04-15 00:13:51 +00:00
llc Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
lli Remove the JITEmitDebugInfo TargetOptions as they're only set and 2015-04-19 03:20:51 +00:00
llvm-ar
llvm-as uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov
llvm-cxxdump Change range-based for-loop to use const auto&. No functionality change. 2015-04-15 03:17:49 +00:00
llvm-diff
llvm-dis uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
llvm-dwarfdump
llvm-extract uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
llvm-go
llvm-jitlistener
llvm-link uselistorder: Remove the global bits 2015-04-15 03:14:06 +00:00
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 uselistorder: Pull the assembly bit up out of the printer 2015-04-15 02:12:41 +00:00
yaml2obj Mark empty default constructors as =default if it makes the type POD 2015-04-11 18:57:14 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile