llvm-project/lldb/source/Expression
Alex Langford 303b27f21b [lldb] Delete IRExecutionUnit::SearchSpec
IRExecutionUnit::SearchSpec is a struct that encapsulates information
needed to look for a symbol. Specifically, it is comprised of a name
represented with a ConstString and a FunctionNameType mask.
Because the mask is unused (effectively always set to
eFunctionNameTypeFull), we can remove the mask and replace all uses with
eFunctionNameTypeFull.  After doing that, SearchSpec is effectively a
wrapper around a ConstString.

As an aside, SearchSpec is similar in purpose to Module::LookupInfo. I
briefly considered replacing uses of SearchSpec with LookupInfo, but
the current code only cares about symbol names (treating them as
eFunctionNameTypeFull). This code does care about language type, so
LookupInfo may be appropriate for IRExecutionUnit in the future.

Differential Revision: https://reviews.llvm.org/D109384
2021-09-08 11:27:10 -07:00
..
CMakeLists.txt [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
DWARFExpression.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
DiagnosticManager.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Expression.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
ExpressionVariable.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
FunctionCaller.cpp [lldb] Support debugging utility functions 2021-02-24 11:36:01 -08:00
IRExecutionUnit.cpp [lldb] Delete IRExecutionUnit::SearchSpec 2021-09-08 11:27:10 -07:00
IRInterpreter.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
IRMemoryMap.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
LLVMUserExpression.cpp [lldb] Lower GetRealStopInfo into ThreadPlanCallFunction (NFC) 2021-02-15 17:59:24 -08:00
Materializer.cpp Improve materializer error messages to include type names. 2021-06-11 17:59:00 -07:00
REPL.cpp [lldb] [gdb-remote] Add eOpenOptionReadWrite for future gdb compat 2021-08-09 12:06:59 +02:00
UserExpression.cpp [lldb] Get rid of HAVE_SYS_TYPES_H 2021-08-03 22:14:56 +02:00
UtilityFunction.cpp [lldb] Get rid of HAVE_SYS_TYPES_H 2021-08-03 22:14:56 +02:00