[PATCH] D43624: Change DEBUG() macro to LLVM_DEBUG()

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 15:42:19 PST 2018


sbc100 added inline comments.


================
Comment at: lib/MC/WasmObjectWriter.cpp:950
 
-  DEBUG(dbgs() << "registerFunctionType: " << Symbol << " new:" << Pair.second << "\n");
-  DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
+  LLVM_DEBUG(dbgs() << "registerFunctionType: " << Symbol << " new:" << Pair.second << "\n");
+  LLVM_DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
----------------
Maybe you want to `git clang-format` this to avoid introducing lines that are more than 80 cols?


Repository:
  rL LLVM

https://reviews.llvm.org/D43624





More information about the llvm-commits mailing list