1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools
Sean Silva 537b499a27 Nuke MCAnalysis.
The code is buggy and barely tested. It is also mostly boilerplate.
(This includes MCObjectDisassembler, which is the interface to that
functionality)

Following an IRC discussion with Jim Grosbach, it seems sensible to just
nuke the whole lot of functionality, and dig it up from VCS if
necessary (I hope not!).

All of this stuff appears to have been added in a huge patch dump (look
at the timeframe surrounding e.g. r182628) where almost every patch
seemed to be untested and not reviewed before being committed.
Post-review responses to the patches were never addressed. I don't think
any of it would have passed pre-commit review.

I doubt anyone is depending on this, since this code appears to be
extremely buggy. In limited testing that Michael Spencer and I did, we
couldn't find a single real-world object file that wouldn't crash the
CFG reconstruction stuff. The symbolizer stuff has O(n^2) behavior and
so is not much use to anyone anyway. It seemed simpler to remove them as
a whole. Most of this code is boilerplate, which is the only way it was
able to scrape by 60% coverage.

HEADSUP: Modules folks, some files I nuked were referenced from
include/llvm/module.modulemap; I just deleted the references. Hopefully
that is the right fix (one was a FIXME though!).

llvm-svn: 216983
2014-09-02 22:32:20 +00:00
..
bugpoint Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
bugpoint-passes [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
gold Don't create a MemoryBuffer just to get the MemoryBufferRef. NFC. 2014-08-27 20:25:55 +00:00
llc Use StringRef to avoid copies and simplify code. 2014-08-30 16:48:22 +00:00
lli Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
llvm-ar Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-as Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-bcanalyzer Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. 2014-08-30 17:07:55 +00:00
llvm-c-test Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
llvm-config Change llvm-config --ldflags to report ${CMAKE_CXX_LINK_FLAGS} 2014-04-25 01:44:20 +00:00
llvm-cov Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 05:25:25 +00:00
llvm-diff Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-dis Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-dwarfdump Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
llvm-extract Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-jitlistener Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
llvm-link Invert the condition to have a single return. 2014-08-26 18:03:35 +00:00
llvm-lto Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-mc Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-mcmarkup Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr 2014-08-21 20:44:56 +00:00
llvm-nm Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-objdump Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
llvm-profdata Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-readobj Remove 'virtual' keyword from methods markedwith 'override' keyword. 2014-08-30 16:48:34 +00:00
llvm-rtdyld Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
llvm-shlib Revert of 214418: 2014-08-01 06:16:03 +00:00
llvm-size Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-stress Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
llvm-symbolizer Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
llvm-vtabledump Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
lto Remove lto_codegen_set_attr. 2014-08-01 14:57:05 +00:00
macho-dump Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
msbuild msbuild integration: remove duplicated lines and BOM from 2014 integration (PR20341) 2014-07-31 20:33:22 +00:00
obj2yaml Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
opt Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
verify-uselistorder Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
yaml2obj Modernize raw_fd_ostream's constructor a bit. 2014-08-25 18:16:47 +00:00
CMakeLists.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
LLVMBuild.txt Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00
Makefile Rename llvm-uselistorder => verify-uselistorder 2014-07-30 17:11:27 +00:00