Created
June 12, 2016 21:57
-
-
Save martell/2b5dbc1ec9ace168330536761587685c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StringRef CtorHead = StringRef("__CTOR_LIST__"); | |
auto *CtorHeadImport = new DefinedRegular(CtorHead, new Defined(lld::coff::DefinedBitcode::DefinedRegularKind)); | |
coff_section Sec; | |
auto *CtorSection = new (Alloc) SectionChunk(this, &Sec); | |
OutputSection *Ctors = createSection(".ctors"); | |
Ctors->addChunk(CtorSection->getChunk()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment