From ed30ce7ae43967dc26e4cecb4d377fa81f031d4d Mon Sep 17 00:00:00 2001 From: Eugene Leviant Date: Mon, 28 Nov 2016 09:58:04 +0000 Subject: [ELF] Print file:line for 'undefined section' errors Differential revision: https://reviews.llvm.org/D27108 llvm-svn: 288019 --- lld/ELF/ScriptParser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lld/ELF/ScriptParser.h') 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 MBs; std::vector Tokens; -- cgit v1.2.3