1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Matthias Braun 5809e12d46 Cleanup dump() functions.
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
2017-01-28 02:02:38 +00:00
..
Analysis Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
AsmParser
Bitcode Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
CodeGen Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
DebugInfo Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Demangle Fix ASAN failure in cxa_demangle 2017-01-27 20:32:16 +00:00
ExecutionEngine RuntimeDyldELF: add LDST128_ABS_LO12_NC reloc 2017-01-23 13:52:08 +00:00
Fuzzer [libFuzzer] make shmem more robust in the presence of signals 2017-01-27 22:41:30 +00:00
IR Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [LTO] Teach lib/LTO about the new pass manager. 2017-01-24 00:58:24 +00:00
MC Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Object Fix llvm-objdump so it picks a good CPU based for Mach-O files 2017-01-24 23:41:04 +00:00
ObjectYAML Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
Option Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Passes [PM] Port LoopLoadElimination to the new pass manager and wire it into 2017-01-27 01:32:26 +00:00
ProfileData Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Support Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
TableGen Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Target Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Transforms Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
XRay
CMakeLists.txt
LLVMBuild.txt