diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-10-18 13:26:35 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-10-18 13:39:37 -0700 |
commit | 1053e0b27ce135ce2da63af01aa986b9425386ee (patch) | |
tree | 2a2bea97f0ce0e393134c54082f9b4de69ab3e07 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | 431a5d8411952b4c9c2185303afd703123ef55cc (diff) | |
download | llvm-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/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions