Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lld/COFF/DebugTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ static bool equalsPath(StringRef path1, StringRef path2) {

// Find by name an OBJ provided on the command line
PrecompSource *UsePrecompSource::findObjByName(StringRef fileNameOnly) {
SmallString<128> currentPath;
for (auto kv : ctx.precompSourceMappings) {
StringRef currentFileName = sys::path::filename(kv.second->file->getName(),
sys::path::Style::windows);
Expand Down
3 changes: 1 addition & 2 deletions lld/ELF/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2319,8 +2319,7 @@ static void writeArchiveStats(Ctx &ctx) {

os << "members\textracted\tarchive\n";

SmallVector<StringRef, 0> archives;
DenseMap<CachedHashStringRef, unsigned> all, extracted;
DenseMap<CachedHashStringRef, unsigned> extracted;
for (ELFFileBase *file : ctx.objectFiles)
if (file->archiveName.size())
++extracted[CachedHashStringRef(file->archiveName)];
Expand Down
1 change: 0 additions & 1 deletion lld/wasm/WriterUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static std::string toString(const llvm::wasm::WasmLimits &limits) {
}

std::string toString(const WasmTableType &type) {
SmallString<128> ret("");
return "type=" + toString(static_cast<ValType>(type.ElemType)) +
"; limits=[" + toString(type.Limits) + "]";
}
Expand Down