[WebAssembly] Remove unneeded Chunk::getFileName() method. NFC.
Differential Revision: https://reviews.llvm.org/D43405 llvm-svn: 325414
This commit is contained in:
parent
7c9ad29304
commit
6d83fb4c07
|
@ -52,7 +52,6 @@ public:
|
|||
|
||||
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;
|
||||
|
|
|
@ -94,7 +94,7 @@ void lld::wasm::markLive() {
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue