summaryrefslogtreecommitdiffstats
path: root/lld/wasm/MarkLive.cpp
diff options
context:
space:
mode:
authorNicola Zaghen <nicola.zaghen@imgtec.com>2018-05-15 13:36:20 +0000
committerNicola Zaghen <nicola.zaghen@imgtec.com>2018-05-15 13:36:20 +0000
commite7245b429b942946ed3cb8f422b22e3de6d00a3c (patch)
tree742ccba1753aa082ed42138d043a0b70baec8ddb /lld/wasm/MarkLive.cpp
parent3538b39ed55e8bcce9a15f6144d605b6843c1cd0 (diff)
downloadbcm5719-llvm-e7245b429b942946ed3cb8f422b22e3de6d00a3c.tar.gz
bcm5719-llvm-e7245b429b942946ed3cb8f422b22e3de6d00a3c.zip
[lld] Update uses of DEBUG macro to LLVM_DEBUG.
The DEBUG() macro is very generic so it might clash with other projects. The renaming was done as follows: - git grep -l 'DEBUG' | xargs sed -i 's/\bDEBUG\s\?(/LLVM_DEBUG(/g' - git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM Differential Revision: https://reviews.llvm.org/D44977 llvm-svn: 332351
Diffstat (limited to 'lld/wasm/MarkLive.cpp')
-rw-r--r--lld/wasm/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp
index 95d9782965e..7c4670d536c 100644
--- a/lld/wasm/MarkLive.cpp
+++ b/lld/wasm/MarkLive.cpp
@@ -37,7 +37,7 @@ void lld::wasm::markLive() {
if (!Config->GcSections)
return;
- DEBUG(dbgs() << "markLive\n");
+ LLVM_DEBUG(dbgs() << "markLive\n");
SmallVector<InputChunk *, 256> Q;
auto Enqueue = [&](Symbol *Sym) {
OpenPOWER on IntegriCloud