Add a new string member to the TargetOptions struct for the name
[oota-llvm.git] / lib / CodeGen / TargetOptionsImpl.cpp
index 618d903a0904a7ff268274804e4cebf899381693..d2dd59b0236e687bee6bc5ede37567c23fafde9f 100644 (file)
@@ -58,3 +58,10 @@ StringRef TargetOptions::getTrapFunctionName() const {
 StringRef TargetOptions::getCFIFuncName() const {
   return CFIFuncName;
 }
+
+/// getABIName - If this returns a non-empty string this represents the
+/// textual name of the ABI that we want the backend to use, e.g. o32, or
+/// aapcs-linux.
+StringRef TargetOptions::getABIName() const {
+  return ABIName;
+}