diff options
author | Rui Ueyama <ruiu@google.com> | 2016-08-09 03:38:23 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-08-09 03:38:23 +0000 |
commit | bc2306c8c60bf93c8a290a48b2d1b05bfd31664f (patch) | |
tree | 49fee536257bf2dc76c406198c36d7e13893e4ea /lld/ELF/Writer.h | |
parent | 4d6741428cf8c2cf1454cd93d4e5348264084974 (diff) |
Do not pass the SymbolTable to writeResult.
The SymbolTable is always accessible as Symtab<ELFT>::X,
so no need to pass it as an argument.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 9caf7a7a10e..30472821f03 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -23,7 +23,7 @@ template <class ELFT> class OutputSectionBase; template <class ELFT> class InputSectionBase; template <class ELFT> class ObjectFile; template <class ELFT> class SymbolTable; -template <class ELFT> void writeResult(SymbolTable<ELFT> *Symtab); +template <class ELFT> void writeResult(); template <class ELFT> void markLive(); template <class ELFT> bool isOutputDynamic(); template <class ELFT> bool isRelroSection(OutputSectionBase<ELFT> *Sec); |