[Lldb-commits] [lldb] [LLDB] Enable TLS Variable Debugging Without Location Info on AArch64 (PR #110822)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 27 17:33:20 PST 2025
================
@@ -438,6 +438,19 @@ Status Variable::GetValuesForVariableExpressionPath(
return error;
}
+bool Variable::IsThreadLocal() const {
+ ModuleSP module_sp(m_owner_scope->CalculateSymbolContextModule());
+ // Give the symbol vendor a chance to add to the unified section list.
+ module_sp->GetSymbolFile();
+ std::vector<uint32_t> symbol_indexes;
+ module_sp->GetSymtab()->FindAllSymbolsWithNameAndType(
----------------
clayborg wrote:
If you are going to do this code elsewhere, like in an OS ABI plug-in, please use `FindFirstSymbolWithNameAndType` if you only use the first one. Probably specify `lldb::SymbolType::eSymbolTypeData` as well
https://github.com/llvm/llvm-project/pull/110822
More information about the lldb-commits
mailing list