diff options
author | Duncan Sands <baldrick@free.fr> | 2011-09-02 18:07:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-09-02 18:07:19 +0000 |
commit | 147272b8a70db7984a6bdfad3b5efabcb794a42e (patch) | |
tree | 9af9b3f2b5be4e345c0cb17cb6b36b0566931fdb /lib/MC/MCAsmInfo.cpp | |
parent | 98f213cd60f21437846ce4075c0fe15d7f09a3fd (diff) |
Darwin wants ctors/dtors to be ordered the other way round to linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfo.cpp')
-rw-r--r-- | lib/MC/MCAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp index a53c474c15..365df87d8d 100644 --- a/lib/MC/MCAsmInfo.cpp +++ b/lib/MC/MCAsmInfo.cpp @@ -29,6 +29,7 @@ MCAsmInfo::MCAsmInfo() { HasSubsectionsViaSymbols = false; HasMachoZeroFillDirective = false; HasMachoTBSSDirective = false; + StructorOutputOrder = Structors::ReversePriorityOrder; HasStaticCtorDtorReferenceInStaticMode = false; LinkerRequiresNonEmptyDwarfLines = false; MaxInstLength = 4; |