summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Driver.cpp')
-rw-r--r--lld/ELF/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 521b6182e28..935da5dacc3 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -487,7 +487,7 @@ static void parseSymbolOrderingList(MemoryBufferRef MB) {
SmallVector<StringRef, 0> Arr;
MB.getBuffer().split(Arr, '\n');
for (StringRef S : Arr)
- Config->SymbolOrderingFile.insert({CachedHashStringRef(S.trim()), I++});
+ Config->SymbolOrderingFile.insert({S.trim(), I++});
}
// Initializes Config members by the command line options.
OpenPOWER on IntegriCloud