aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2021-09-07 11:42:34 -0700
committerAlex Langford <apl@fb.com>2021-09-08 11:27:10 -0700
commit303b27f21b98a45621d39f941c88c7e30d69fbe7 (patch)
tree5919b0b1c35295122a2e7c602e6aec1178e91f91 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentc38ab8275e715e686db9120796f26dbd47440656 (diff)
downloadllvm-303b27f21b98a45621d39f941c88c7e30d69fbe7.zip
llvm-303b27f21b98a45621d39f941c88c7e30d69fbe7.tar.gz
llvm-303b27f21b98a45621d39f941c88c7e30d69fbe7.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions