summaryrefslogtreecommitdiffstats
path: root/lld/ELF/ScriptParser.h
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2016-11-28 09:58:04 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2016-11-28 09:58:04 +0000
commited30ce7ae43967dc26e4cecb4d377fa81f031d4d (patch)
tree79e2859ca3675afa4f5fbb1c158bfd42240ed432 /lld/ELF/ScriptParser.h
parent0f0d5d8f8d4c0b1d325822406cb1a94fff3bf105 (diff)
downloadbcm5719-llvm-ed30ce7ae43967dc26e4cecb4d377fa81f031d4d.tar.gz
bcm5719-llvm-ed30ce7ae43967dc26e4cecb4d377fa81f031d4d.zip
[ELF] Print file:line for 'undefined section' errors
Differential revision: https://reviews.llvm.org/D27108 llvm-svn: 288019
Diffstat (limited to 'lld/ELF/ScriptParser.h')
-rw-r--r--lld/ELF/ScriptParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/ScriptParser.h b/lld/ELF/ScriptParser.h
index 6c314a4d12e..a0da48dee80 100644
--- a/lld/ELF/ScriptParser.h
+++ b/lld/ELF/ScriptParser.h
@@ -32,6 +32,7 @@ public:
void skip();
bool consume(StringRef Tok);
void expect(StringRef Expect);
+ std::string currentLocation();
std::vector<MemoryBufferRef> MBs;
std::vector<StringRef> Tokens;
OpenPOWER on IntegriCloud