summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAnalysis
Commit message (Collapse)AuthorAgeFilesLines
* Nuke MCAnalysis.Sean Silva2014-09-029-1665/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or ↵Craig Topper2014-08-271-4/+4
| | | | | | just letting them be implicitly created. llvm-svn: 216525
* Revert "Remove MCObjectDisassembler.cpp as it is untested and unused." as it ↵Eric Christopher2014-07-312-0/+575
| | | | | | | | is apparently used, but the build didn't return errors weirdly. This reverts commits 214437 and 214438. llvm-svn: 214444
* Fixing CMake problems with MCObjectDisassembler.cpp not existing.Aaron Ballman2014-07-311-1/+0
| | | | llvm-svn: 214438
* Remove MCObjectDisassembler.cpp as it is untested and unused.Eric Christopher2014-07-311-574/+0
| | | | llvm-svn: 214437
* Move MCObjectSymbolizer.h to MC/MCAnalysis.Rafael Espindola2014-07-312-2/+2
| | | | | | The cpp file is already in lib/MC/MCAnalysis. llvm-svn: 214424
* Fix loop end condition.Eric Christopher2014-07-311-1/+1
| | | | | Note: This code appears to be untested. llvm-svn: 214416
* Invert the MC -> Object dependency.Rafael Espindola2014-07-031-2/+2
| | | | | | | | | Now that we have a lib/MC/MCAnalysis, the dependency was there just because of two helper classes. Move the two over to MC. This will allow IRObjectFile to parse inline assembly. llvm-svn: 212248
* Fix configure+make build.Rafael Espindola2014-07-021-0/+14
| | | | llvm-svn: 212210
* Move CFG building code to a new lib/MC/MCAnalysis library.Rafael Espindola2014-07-028-0/+1651
The new library is 150KB on a Release+Asserts build, so it is quiet a bit of code that regular users of MC don't need to link with now. llvm-svn: 212209
OpenPOWER on IntegriCloud