Skip to content
Commit e64911a4 authored by Chris Lattner's avatar Chris Lattner
Browse files

switch getBuiltinLibFunction to use the new GetOrCreateLLVMFunction

functionality, fixing a crash on the attached testcase.  Eliminate the
BuiltinFunctions cache, as it can contain dangling pointers.  This fixes
a bunch of valgrind errors on test/CodeGen/builtins.c

llvm-svn: 67484
parent bae2042b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment