From c3095ace86e4b5a5833241cc10ef04390b1a2dd8 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Wed, 24 Oct 2018 07:42:06 +0000 Subject: [PATCH] [ELF] Remove a superfluous semicolon, fixing warnings. NFC. llvm-svn: 345116 --- lld/ELF/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 13aa337ded24..60f5ff9d19f7 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -180,7 +180,7 @@ static Defined *addOptionalRegular(StringRef Name, SectionBase *Sec, static Defined *addAbsolute(StringRef Name) { return cast(Symtab->addDefined(Name, STV_HIDDEN, STT_NOTYPE, 0, 0, STB_GLOBAL, nullptr, nullptr)); -}; +} // The linker is expected to define some symbols depending on // the linking result. This function defines such symbols.