summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-09-02 18:07:19 +0000
committerDuncan Sands <baldrick@free.fr>2011-09-02 18:07:19 +0000
commit5c04c62765a0bb6c42b5d940867a53c93734fa06 (patch)
tree38f927dc43f4e4648cb835db2b401d51acf77205 /llvm/lib/MC/MCAsmInfo.cpp
parent54e09b47996ec06c1220eb6314d0cbd47a753d24 (diff)
downloadbcm5719-llvm-5c04c62765a0bb6c42b5d940867a53c93734fa06.tar.gz
bcm5719-llvm-5c04c62765a0bb6c42b5d940867a53c93734fa06.zip
Darwin wants ctors/dtors to be ordered the other way round to linux.
llvm-svn: 139015
Diffstat (limited to 'llvm/lib/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index a53c474c15b..365df87d8db 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud