[llvm-commits] [llvm-gcc-4.2] r56883 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Tue Sep 30 14:09:21 PDT 2008
Author: void
Date: Tue Sep 30 16:09:21 2008
New Revision: 56883
URL: http://llvm.org/viewvc/llvm-project?rev=56883&view=rev
Log:
Add support for sending the "-fno-builtin" flag to the LLVM back-end.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=56883&r1=56882&r2=56883&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue Sep 30 16:09:21 2008
@@ -70,6 +70,7 @@
#include "tree-inline.h"
#include "langhooks.h"
#include "cgraph.h"
+#include "c-common.h"
}
// Non-zero if bytecode from PCH is successfully read.
@@ -165,6 +166,9 @@
ArgStrings.push_back(Arg);
}
+ if (flag_no_builtin)
+ ArgStrings.push_back(std::string("--no-builtin"));
+
if (llvm_optns) {
std::string Opts = llvm_optns;
for (std::string Opt = getToken(Opts); !Opt.empty(); Opt = getToken(Opts))
More information about the llvm-commits
mailing list