summaryrefslogtreecommitdiffstats
path: root/lld/COFF/SymbolTable.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-10-15 09:33:14 +0000
committerMartin Storsjo <martin@martin.st>2019-10-15 09:33:14 +0000
commitcd8759c3c29735c0460ff522be72c39c09d81223 (patch)
tree21c3e5c4a4b1c4b13cbddfa0213121f584ad71b5 /lld/COFF/SymbolTable.cpp
parent599591f3d47cad6d70f2346c9056f4d4bbddff31 (diff)
downloadbcm5719-llvm-cd8759c3c29735c0460ff522be72c39c09d81223.tar.gz
bcm5719-llvm-cd8759c3c29735c0460ff522be72c39c09d81223.zip
[LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC.
llvm-svn: 374873
Diffstat (limited to 'lld/COFF/SymbolTable.cpp')
-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