[PATCH] D44977: Change DEBUG() macro to LLVM_DEBUG() in lld
Nicola Zaghen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 28 03:39:39 PDT 2018
Nicola created this revision.
Herald added subscribers: llvm-commits, aheejin, sbc100.
The DEBUG() macro is too generic so it might clash with other projects.
This is going to be deprecated and replaced by LLVM_DEBUG() as soon as https://reviews.llvm.org/D43624 is submitted.
This is the command I used to do the replacement and formatting:
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
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D44977
Files:
lib/Driver/DarwinLdDriver.cpp
lib/ReaderWriter/MachO/CompactUnwindPass.cpp
lib/ReaderWriter/MachO/LayoutPass.cpp
lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
wasm/InputChunks.cpp
wasm/InputFiles.cpp
wasm/MarkLive.cpp
wasm/SymbolTable.cpp
wasm/Symbols.cpp
wasm/Writer.cpp
wasm/WriterUtils.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44977.140058.patch
Type: text/x-patch
Size: 27325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/2b8f49a8/attachment.bin>
More information about the llvm-commits
mailing list