diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-08-25 20:21:17 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-08-25 20:21:17 +0000 |
commit | b9e7689c89acf9324fba9242e00a9a4b8a3a83a6 (patch) | |
tree | 89ca3b21985b1048f6b4fb012a1b3345cde13fcb /lib/MC/MCAsmInfo.cpp | |
parent | ee5b680e8c1d6fb6e940796db1cdfc2b37dca079 (diff) | |
download | llvm-b9e7689c89acf9324fba9242e00a9a4b8a3a83a6.tar.gz llvm-b9e7689c89acf9324fba9242e00a9a4b8a3a83a6.tar.bz2 llvm-b9e7689c89acf9324fba9242e00a9a4b8a3a83a6.tar.xz |
Add a target asm info hook to specify that particular bits of data in the FDE
should be forced to 32-bits (.long) even on 64-bit architectures. Darwin wants
these bits to be 64-bits (.quad). However, other platforms may disagree.
This is just the info right now and is part of a work-in-progress which needs
this. We'll add the actual *use* of this soon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80024 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 0653b19a56..6a1b0c2eee 100644 --- a/lib/MC/MCAsmInfo.cpp +++ b/lib/MC/MCAsmInfo.cpp @@ -78,6 +78,7 @@ MCAsmInfo::MCAsmInfo() { DwarfRequiresFrameSection = true; DwarfUsesInlineInfoSection = false; Is_EHSymbolPrivate = true; + ForceEncodingOfFDETo32Bits = true; GlobalEHDirective = 0; SupportsWeakOmittedEHFrame = true; DwarfSectionOffsetDirective = 0; |