summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index f87922c53e7..853f4260cb3 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -1713,7 +1713,7 @@ Expr ScriptParser::readPrimary() {
return readParenExpr();
StringRef Tok = next();
- std::string Location = currentLocation();
+ std::string Location = getCurrentLocation();
if (Tok == "~") {
Expr E = readPrimary();
OpenPOWER on IntegriCloud