diff options
Diffstat (limited to 'lld/ELF/ScriptParser.h')
| -rw-r--r-- | lld/ELF/ScriptParser.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lld/ELF/ScriptParser.h b/lld/ELF/ScriptParser.h index a0da48dee80..ae58ef2ff00 100644 --- a/lld/ELF/ScriptParser.h +++ b/lld/ELF/ScriptParser.h @@ -32,7 +32,7 @@ public: void skip(); bool consume(StringRef Tok); void expect(StringRef Expect); - std::string currentLocation(); + std::string getCurrentLocation(); std::vector<MemoryBufferRef> MBs; std::vector<StringRef> Tokens; @@ -40,6 +40,10 @@ public: bool Error = false; private: + StringRef getLine(); + size_t getLineNumber(); + size_t getColumnNumber(); + MemoryBufferRef currentBuffer(); }; |

