- Initialize "--no-builtin" to "false".

- Testcase for r56885.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2008-09-30 21:40:30 +00:00
parent 6f287b22d2
commit fd8ca5a0ef
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@
using namespace llvm;
static cl::opt<bool>
NoBuiltin("no-builtin",
NoBuiltin("no-builtin", cl::init(false),
cl::desc("Don't recognize built-in functions that do not begin "
"with `__builtin_' as prefix"));

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 | grep __bzero
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin10 -no-builtin | grep _bzero
declare void @llvm.memset.i32(i8*, i8, i32, i32)