[cfe-commits] r91685 - /cfe/trunk/lib/Basic/Targets.cpp
John Thompson
John.Thompson.JTSoftware at gmail.com
Fri Dec 18 06:21:08 PST 2009
Author: jtsoftware
Date: Fri Dec 18 08:21:08 2009
New Revision: 91685
URL: http://llvm.org/viewvc/llvm-project?rev=91685&view=rev
Log:
Tweaks for PS3 target.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=91685&r1=91684&r2=91685&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Dec 18 08:21:08 2009
@@ -323,11 +323,14 @@
Define(Defs, "__PPU__", "1");
Define(Defs, "__CELLOS_LV2__", "1");
Define(Defs, "__ELF__", "1");
+ Define(Defs, "__LP32__", "1");
}
public:
PS3PPUTargetInfo(const std::string& triple)
: OSTargetInfo<Target>(triple) {
this->UserLabelPrefix = "";
+ this->LongWidth = this->LongAlign = this->PointerWidth = this->PointerAlign = 32;
+ this->SizeType = TargetInfo::UnsignedInt;
}
};
More information about the cfe-commits
mailing list