[PATCH] D43405: [WebAssembly] Remove unneeded Chunk::getFileName() method. NFC.
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 15:50:01 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL325414: [WebAssembly] Remove unneeded Chunk::getFileName() method. NFC. (authored by sbc, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D43405
Files:
lld/trunk/wasm/InputChunks.h
lld/trunk/wasm/MarkLive.cpp
Index: lld/trunk/wasm/InputChunks.h
===================================================================
--- lld/trunk/wasm/InputChunks.h
+++ lld/trunk/wasm/InputChunks.h
@@ -52,7 +52,6 @@
uint32_t getOutputOffset() const { return OutputOffset; }
ArrayRef<WasmRelocation> getRelocations() const { return Relocations; }
- StringRef getFileName() const { return File->getName(); }
virtual StringRef getComdat() const = 0;
virtual StringRef getName() const = 0;
Index: lld/trunk/wasm/MarkLive.cpp
===================================================================
--- lld/trunk/wasm/MarkLive.cpp
+++ lld/trunk/wasm/MarkLive.cpp
@@ -94,7 +94,7 @@
auto CheckChunk = [](const InputChunk *C) {
if (!C->Live)
message("removing unused section '" + C->getName() + "' in file '" +
- C->getFileName() + "'");
+ C->File->getName() + "'");
};
for (const ObjFile *Obj : Symtab->ObjectFiles) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43405.134758.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/9c1da02d/attachment-0001.bin>
More information about the llvm-commits
mailing list