diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-03-22 21:56:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-03-22 21:56:56 +0000 |
| commit | b808c952bbff821dce727dd801a1098d64394f98 (patch) | |
| tree | 6dd39a0a265f769bcf29483e44372d60e7f09617 /lib/CodeGen/CGExpr.cpp | |
| parent | 1ab10d45bf7669a299a20021fa5c69845d9f0ee0 (diff) | |
| download | clang-b808c952bbff821dce727dd801a1098d64394f98.tar.gz clang-b808c952bbff821dce727dd801a1098d64394f98.tar.bz2 clang-b808c952bbff821dce727dd801a1098d64394f98.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
