summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 04:08:57 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 04:08:57 +0000
commit2e664bd9155f963bc9410ce4bb5d0b1a72edd5a0 (patch)
treea8a16f3edb57901f7acf7b4d6397571c6d9f4de6 /llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
parentdd1c82141c18daaa65f1ed93f5a7cd49ce97ba63 (diff)
downloadbcm5719-llvm-2e664bd9155f963bc9410ce4bb5d0b1a72edd5a0.tar.gz
bcm5719-llvm-2e664bd9155f963bc9410ce4bb5d0b1a72edd5a0.zip
fix a crash on invalid metadata, e.g.: call i32 @foo(), XXXX
We would return the error without inserting the new instruction into the program, so it wouldn't get deallocated, and an abort would trigger when the module was deleted. llvm-svn: 100602
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud