commit | b808c952bbff821dce727dd801a1098d64394f98 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 22 21:56:56 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 22 21:56:56 2009 +0000 |
tree | 6dd39a0a265f769bcf29483e44372d60e7f09617 | |
parent | 1ab10d45bf7669a299a20021fa5c69845d9f0ee0 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67484 91177308-0d34-0410-b5e6-96231b3b80d8