summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/gcov.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GCOV: Move GCOV from IR & Support into ProfileData to fix layeringDavid Blaikie2017-11-031-1/+1
| | | | | | | | This class was split between libIR and libSupport, which breaks under modular code generation. Move it into the one library that uses it, ProfileData, to resolve this issue. llvm-svn: 317366
* Cleanup dump() functions.Matthias Braun2017-01-281-1/+1
| | | | | | | | | | | | | | | | | | We had various variants of defining dump() functions in LLVM. Normalize them (this should just consistently implement the things discussed in http://lists.llvm.org/pipermail/cfe-dev/2014-January/034323.html For reference: - Public headers should just declare the dump() method but not use LLVM_DUMP_METHOD or #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) - The definition of a dump method should look like this: #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void MyClass::dump() { // print stuff to dbgs()... } #endif llvm-svn: 293359
* Search for llvm-symbolizer binary in the same directory as argv[0], beforeRichard Smith2016-06-091-8/+0
| | | | | | | looking for it along $PATH. This allows installs of LLVM tools outside of $PATH to find the symbolizer and produce pretty backtraces if they crash. llvm-svn: 272232
* Rename one of our two llvm::GCOVOptions classes to llvm::GCOV::Options. We usedRichard Smith2015-10-141-3/+3
| | | | | | | to get away with this because llvm/Support/GCOV.h was an implementation detail of the llvm-gcov tool, but it's now being used by FDO. llvm-svn: 250258
* Make helper functions static.Benjamin Kramer2015-03-091-3/+4
| | | | | | Found by -Wmissing-prototypes. NFC. llvm-svn: 231664
* llvm-cov: Don't use llvm::outs() in library codeJustin Bogner2015-01-231-1/+1
| | | | | | | Nothing in lib/ should be using llvm::outs() directly. Thread it in from the caller instead. llvm-svn: 226961
* Remove unused includes and out of date comment. NFC.Rafael Espindola2014-12-171-1/+0
| | | | llvm-svn: 224413
* llvm-cov: Follow LLVM naming conventionsJustin Bogner2014-10-301-1/+1
| | | | | | This renames a few things that are using an unusual naming convention. llvm-svn: 220929
* llvm-cov: move the gcov code into a separate file.Alex Lorenz2014-07-281-0/+153
The gcov compatible code is moved to its own file and llvm-cov is updated to be a wrapper that always calls the gcov main function. llvm-svn: 214107
OpenPOWER on IntegriCloud