hanchenye-llvm-project/llvm/tools
Matthias Braun 8c209aa877 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
..
bugpoint Fix spelling mistakes in Tools/Tests comments. NFC. 2016-11-20 13:31:13 +00:00
bugpoint-passes [CMake] bugpoint-passes depends on intrinsics_gen 2016-11-19 02:20:59 +00:00
dsymutil Fix un-initialized error introduced by r291959. 2017-01-15 16:42:36 +00:00
gold gold-plugin: Simplify naming of object files created with save-temps or obj-path. 2017-01-26 02:07:05 +00:00
llc [llc] Add -pass-remarks-output 2017-01-26 00:39:51 +00:00
lli Prune unused libdeps. 2016-12-08 15:28:02 +00:00
llvm-ar Always use / as the path separator. 2016-12-04 07:27:02 +00:00
llvm-as [CMake] llvm-as depends on intrinsics_gen 2016-11-19 02:15:04 +00:00
llvm-as-fuzzer
llvm-bcanalyzer Add llvm-bcanalyzer support for new metadata node types. 2017-01-03 19:17:49 +00:00
llvm-c-test Fix "isn't a prototype" warning 2016-11-16 21:51:39 +00:00
llvm-cat llvm-cat: Allow bitcode files to be created with no modules. 2016-12-13 23:14:55 +00:00
llvm-config [llvm-config] Fix obviously wrong code in parsing DyLib components. 2017-01-12 19:47:38 +00:00
llvm-cov Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-cxxdump Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
llvm-cxxfilt llvm-cxxfilt: support `-_` 2017-01-22 17:41:10 +00:00
llvm-diff Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
llvm-dis [CMake] llvm-dis depends on intrinsics_gen 2016-11-19 02:31:14 +00:00
llvm-dwarfdump Fix a bugs with using some Mach-O command line flags like "-arch armv7m". 2016-12-16 22:54:02 +00:00
llvm-dwp [llvm-dwp] - Reuse object::Decompressor class 2017-01-13 15:58:55 +00:00
llvm-extract [CMake] llvm-extract depends on intrinsics_gen 2016-11-19 02:33:57 +00:00
llvm-go [llvm-go] parameterize $GOPATH construction 2016-07-27 03:21:51 +00:00
llvm-jitlistener
llvm-link [ThinLTO] Rework llvm-link to use the FunctionImporter 2017-01-04 14:27:31 +00:00
llvm-lto llvm-lto: pass errs() to the module verifier (NFC) 2016-12-23 23:53:57 +00:00
llvm-lto2 llvm-lto2: remove leading '-' for cl::opt declaration 2016-12-23 23:54:34 +00:00
llvm-mc [llvm] Fix D26214: Move error handling out of MC and to the callers. 2016-12-06 02:49:17 +00:00
llvm-mc-fuzzer Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
llvm-mcmarkup
llvm-modextract llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
llvm-nm Add a warning when the llvm-nm -print-size flag is used on a Mach-O file as 2017-01-25 21:33:38 +00:00
llvm-objdump Add support for the x86_thread_state32_t and 2017-01-23 21:13:29 +00:00
llvm-opt-report [llvm-opt-report] Fix context-sensitive lines where nothing happened 2017-01-07 20:21:17 +00:00
llvm-pdbdump NFC: Rename PDB_ReaderType::Raw to Native for consistency with the NativeSession rename. 2017-01-27 00:01:55 +00:00
llvm-profdata [CMake] llvm-profdata depends on intrinsics_gen 2016-11-18 23:04:15 +00:00
llvm-readobj [AMDGPU] Bump up n_type for metadata v2 2017-01-25 20:47:17 +00:00
llvm-rtdyld Apply clang-tidy's 'performance-faster-string-find' check to LLVM. 2016-11-30 10:01:11 +00:00
llvm-shlib Fix llvm-shlib cmake build 2016-11-01 20:19:33 +00:00
llvm-size llvm-size: remove leading dash in '-radix' option 2016-12-23 23:55:08 +00:00
llvm-split [CMake] llvm-split depends on intrinsics_gen 2016-11-18 23:20:38 +00:00
llvm-stress [CMake] llvm-stress depends on intrinsics_gen 2016-11-19 02:25:54 +00:00
llvm-strings llvm-strings: remove default for -Wcovered-switch-default 2017-01-21 02:52:29 +00:00
llvm-symbolizer Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
llvm-xray Implemented color coding and Vertex labels in XRay Graph 2017-01-25 07:14:43 +00:00
lto [ThinLTO] Honor -O{0,1,2,4} passed through the libLTO interface for ThinLTO 2016-12-28 19:37:16 +00:00
msbuild
obj2yaml [obj2yaml] Produce correct output for invalid relocations. 2017-01-26 23:12:53 +00:00
opt Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
sancov [sancov] applying blacklist to covered points too 2017-01-19 03:49:18 +00:00
sanstats [CMake] sanstats depends on intrinsics_gen 2016-11-18 23:30:39 +00:00
verify-uselistorder [CMake] verify-uselistorder depends on intrinsics_gen 2016-11-18 23:30:58 +00:00
xcode-toolchain [CMake] Minor fix to regex in r279152 2016-08-18 21:36:36 +00:00
yaml2obj Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
CMakeLists.txt
LLVMBuild.txt Add llvm-modextract tool. 2016-11-29 21:54:33 +00:00