diff options
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index fa4b0174694..c6d7f2dea2e 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -1499,6 +1499,9 @@ IRForTarget::MaterializeInternalVariable (GlobalVariable *global_variable) if (GlobalVariable::isExternalLinkage(global_variable->getLinkage())) return false; + if (global_variable == m_reloc_placeholder) + return true; + uint64_t offset = m_data_allocator->GetStream().GetSize(); llvm::Type *variable_type = global_variable->getType(); |