diff options
author | Sam Clegg <sbc@chromium.org> | 2018-05-29 20:16:47 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-05-29 20:16:47 +0000 |
commit | f4f37509493f6666e4703fa9fb3714d1aad096bb (patch) | |
tree | 4edebe470e5564dd8fa83593d0129dc4ae9ea338 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 4cbcbb0761325099ff63927ef8bf36e97dc43c7f (diff) | |
download | bcm5719-llvm-f4f37509493f6666e4703fa9fb3714d1aad096bb.tar.gz bcm5719-llvm-f4f37509493f6666e4703fa9fb3714d1aad096bb.zip |
Fix build error introduced in rL333459
The DEBUG macro was renamed LLVM_DEBUG.
llvm-svn: 333462
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/WasmObjectFile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Object/WasmObjectFile.cpp b/llvm/lib/Object/WasmObjectFile.cpp index 25baf5c987f..f822d07a253 100644 --- a/llvm/lib/Object/WasmObjectFile.cpp +++ b/llvm/lib/Object/WasmObjectFile.cpp @@ -207,7 +207,7 @@ static Error readSection(WasmSection &Section, WasmObjectFile::ReadContext &Ctx) { Section.Offset = Ctx.Ptr - Ctx.Start; Section.Type = readUint8(Ctx); - DEBUG(dbgs() << "readSection type=" << Section.Type << "\n"); + LLVM_DEBUG(dbgs() << "readSection type=" << Section.Type << "\n"); uint32_t Size = readVaruint32(Ctx); if (Size == 0) return make_error<StringError>("Zero length section", @@ -366,7 +366,8 @@ Error WasmObjectFile::parseLinkingSection(ReadContext &Ctx) { Ctx.End = OrigEnd; uint8_t Type = readUint8(Ctx); uint32_t Size = readVaruint32(Ctx); - DEBUG(dbgs() << "readSubsection type=" << int(Type) << " size=" << Size << "\n"); + LLVM_DEBUG(dbgs() << "readSubsection type=" << int(Type) << " size=" << Size + << "\n"); Ctx.End = Ctx.Ptr + Size; switch (Type) { case wasm::WASM_SYMBOL_TABLE: |