When the target settings are consulted to decide the expression language is decided in CommandObjectExpression, this doesn't help if you're running SBFrame::EvaluateExpression().
Moving the logic into UserExpression fixes this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Please apply requested changes, then it's good to commit. Thanks for fixing this!
source/Commands/CommandObjectExpression.cpp | ||
---|---|---|
306 ↗ | (On Diff #36029) | These lsat 6 lines can be just: options.SetLanguage(m_command_options.language); |
source/Expression/UserExpression.cpp | ||
526 ↗ | (On Diff #36029) | nit pick: remove extra line :) |