summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-21 00:49:54 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-21 00:49:54 +0000
commit847f2a10eeb092d26a4447dbf5616cbe16ecbdd4 (patch)
tree70296be37a100c45c69be60677c67bfb427d1167 /clang/lib/Basic/Targets.cpp
parentf7adea43b4fc35da29bac39e31bf81e2e2f597e6 (diff)
downloadbcm5719-llvm-847f2a10eeb092d26a4447dbf5616cbe16ecbdd4.tar.gz
bcm5719-llvm-847f2a10eeb092d26a4447dbf5616cbe16ecbdd4.zip
Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck.
llvm-svn: 89520
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r--clang/lib/Basic/Targets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 8a4614acc74..e5a4c434c34 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -1533,6 +1533,7 @@ namespace {
UIntMaxType = UnsignedLong;
IntPtrType = SignedShort;
PtrDiffType = SignedInt;
+ SigAtomicType = SignedLong;
FloatWidth = 32;
FloatAlign = 32;
DoubleWidth = 32;
@@ -1600,6 +1601,7 @@ namespace {
UIntMaxType = UnsignedLong;
IntPtrType = SignedShort;
PtrDiffType = SignedInt;
+ SigAtomicType = SignedLong;
DescriptionString = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-n8:16";
}
virtual void getTargetDefines(const LangOptions &Opts,
OpenPOWER on IntegriCloud