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 | e64911a4ae4d20583f650d59f7975ec43256679f (patch) | |
| tree | add77011b3b8ede907bf98943c977570a23b0b1a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | bae2042bb5ce138b49cf9ab31b81b4c847f1aa5c (diff) | |
| download | llvm-e64911a4ae4d20583f650d59f7975ec43256679f.zip llvm-e64911a4ae4d20583f650d59f7975ec43256679f.tar.gz llvm-e64911a4ae4d20583f650d59f7975ec43256679f.tar.bz2 | |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
