mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Don't return a reference to a temp variable.
llvm-svn: 233940
This commit is contained in:
@@ -2041,9 +2041,6 @@ Process::UnloadImage (uint32_t image_token)
|
||||
const lldb::ABISP &
|
||||
Process::GetABI()
|
||||
{
|
||||
if (m_finalizing)
|
||||
return lldb::ABISP();
|
||||
|
||||
if (!m_abi_sp)
|
||||
m_abi_sp = ABI::FindPlugin(m_target.GetArchitecture());
|
||||
return m_abi_sp;
|
||||
|
||||
Reference in New Issue
Block a user