diff options
author | Martin Storsjo <martin@martin.st> | 2019-10-15 09:33:14 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2019-10-15 09:33:14 +0000 |
commit | cd8759c3c29735c0460ff522be72c39c09d81223 (patch) | |
tree | 21c3e5c4a4b1c4b13cbddfa0213121f584ad71b5 /lld/COFF/SymbolTable.cpp | |
parent | 599591f3d47cad6d70f2346c9056f4d4bbddff31 (diff) | |
download | bcm5719-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.cpp | 2 |
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}}); } } |