[lld] r251154 - Update for llvm api change.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 23 14:48:35 PDT 2015
Author: rafael
Date: Fri Oct 23 16:48:35 2015
New Revision: 251154
URL: http://llvm.org/viewvc/llvm-project?rev=251154&view=rev
Log:
Update for llvm api change.
Modified:
lld/trunk/ELF/OutputSections.h
Modified: lld/trunk/ELF/OutputSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.h?rev=251154&r1=251153&r2=251154&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.h (original)
+++ lld/trunk/ELF/OutputSections.h Fri Oct 23 16:48:35 2015
@@ -272,7 +272,7 @@ public:
void writeTo(uint8_t *Buf) override;
void finalize() override {
- StrTabBuilder.finalize(llvm::StringTableBuilder::ELF);
+ StrTabBuilder.finalize();
this->Header.sh_size = StrTabBuilder.data().size();
}
@@ -280,7 +280,7 @@ public:
private:
const bool Dynamic;
- llvm::StringTableBuilder StrTabBuilder;
+ llvm::StringTableBuilder StrTabBuilder{llvm::StringTableBuilder::ELF};
};
template <class ELFT>
More information about the llvm-commits
mailing list