aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-10-18 13:26:35 -0700
committerCraig Topper <craig.topper@sifive.com>2021-10-18 13:39:37 -0700
commit1053e0b27ce135ce2da63af01aa986b9425386ee (patch)
tree2a2bea97f0ce0e393134c54082f9b4de69ab3e07 /lldb/source/Plugins/ScriptInterpreter/Python
parent431a5d8411952b4c9c2185303afd703123ef55cc (diff)
downloadllvm-1053e0b27ce135ce2da63af01aa986b9425386ee.zip
llvm-1053e0b27ce135ce2da63af01aa986b9425386ee.tar.gz
llvm-1053e0b27ce135ce2da63af01aa986b9425386ee.tar.bz2
[RISCV] Use a lambda to avoid having the Support library depend on Option library.
RISCVISAInfo::toFeatures needs to allocate strings using ArgList::MakeArgString, but toFeatures lives in Support and MakeArgString lives in Option. toFeature only has one caller, so the simple fix is to have that caller pass a lamdba that wraps MakeArgString to break the dependency. Differential Revision: https://reviews.llvm.org/D112032
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions