llvm-project/lldb/source/Symbol
Augusto Noronha ec28e43e01 Add null-pointer checks when accessing a TypeSystem's SymbolFile
A type system is not guaranteed to have a symbol file. This patch adds null-pointer checks so we don't crash when trying to access a type system's symbol file.

Reviewed By: aprantl, teemperor

Differential Revision: https://reviews.llvm.org/D101539
2021-05-11 13:15:20 -03:00
..
ArmUnwindInfo.cpp [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
Block.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CMakeLists.txt [lldb] Move and clean-up the Declaration class (NFC) 2021-05-04 16:34:44 +00:00
CompactUnwindInfo.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompileUnit.cpp [lldb] Refactor argument group by SourceLocationSpec (NFCI) 2021-05-04 23:04:31 +00:00
CompilerDecl.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompilerDeclContext.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompilerType.cpp [lldb][NFC] Give CompilerType's IsArrayType/IsVectorType/IsBlockPointerType out-parameters default values 2021-02-23 11:15:31 +01:00
DWARFCallFrameInfo.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
DebugMacros.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
DeclVendor.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
FuncUnwinders.cpp [lldb][NFC] Add 'override' where missing in source/ and tools/ 2020-07-15 11:34:47 -07:00
Function.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
LineEntry.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LineTable.cpp [lldb/Symbol] Fix column breakpoint `move_to_nearest_code` match 2021-05-05 05:07:50 +00:00
LocateSymbolFile.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
LocateSymbolFileMacOSX.cpp Ignore DBGArchitecture from dsymForUUID's plist 2020-12-09 14:19:55 -08:00
ObjectFile.cpp [lldb] Simplify ObjectFile::FindPlugin (NFC) 2020-12-23 14:06:40 -08:00
PostfixExpression.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Symbol.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
SymbolContext.cpp Fix "image lookup --address" Summary results for inline functions. 2021-04-01 11:36:26 -07:00
SymbolFile.cpp [lldb] Refactor argument group by SourceLocationSpec (NFCI) 2021-05-04 23:04:31 +00:00
SymbolVendor.cpp [lldb] Delete copy operations on PluginInterface class 2020-10-09 10:37:09 +02:00
Symtab.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
Type.cpp Add null-pointer checks when accessing a TypeSystem's SymbolFile 2021-05-11 13:15:20 -03:00
TypeList.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
TypeMap.cpp Allow lldb-test to combine -find with -dump-clang-ast 2020-04-17 11:01:20 -07:00
TypeSystem.cpp [lldb] Fix use of undefined type 'lldb_private::UtilityFunction' 2020-10-23 11:48:11 -07:00
UnwindPlan.cpp Add a new Row setting to mark all un-declared regs as Undefined 2021-02-17 23:52:28 -08:00
UnwindTable.cpp [lldb] Use std::make_unique<> (NFC) 2020-06-24 17:48:40 -07:00
Variable.cpp Move initialization of Variable::m_loc_is_const_data into constructor (NFC) 2020-10-13 17:01:28 -07:00
VariableList.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00