diff options
author | Filipe Cabecinhas <me@filcab.net> | 2012-05-17 15:48:02 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2012-05-17 15:48:02 +0000 |
commit | b018345ddcdc74779d0d9efb7b59d5762422f87d (patch) | |
tree | 253fa0c1c0e4f8ef2a0a734067f30cca71387e48 /llvm/lib/VMCore/Function.cpp | |
parent | 26ad6a4f600b4644088d79e8dab1d0d88eca10e8 (diff) | |
download | bcm5719-llvm-b018345ddcdc74779d0d9efb7b59d5762422f87d.tar.gz bcm5719-llvm-b018345ddcdc74779d0d9efb7b59d5762422f87d.zip |
We shouldn't save g_dummy_target_sp. Other code will simply call Destroy() on it.
TestBackticksWithoutATarget.BackticksWithNoTargetTestCase was calling
GetDummyTarget() when executing for x86_64. When performing session
tearDown, it would get destroyed (and everything would be invalid (arch,
etc).
Then the test would run for i386. The dummy target wasn't being
reinitialized and was invalid. lldb complained that 'current process state
is unsuitable for expression parsing'.
llvm-svn: 156994
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions