summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/SymbolTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp
index 61df04e2d21..2d971a023af 100644
--- a/lld/COFF/SymbolTable.cpp
+++ b/lld/COFF/SymbolTable.cpp
@@ -157,7 +157,7 @@ std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) {
if (fileLine)
locations.push_back({sym, *fileLine});
else if (sym)
- locations.push_back({sym});
+ locations.push_back({sym, {"", 0}});
}
}
OpenPOWER on IntegriCloud