[lldb-dev] Custom expression evaluation target options

Luke Drummond via lldb-dev lldb-dev at lists.llvm.org
Fri Dec 4 03:42:04 PST 2015


Hi

On 03/12/15 18:02, Greg Clayton wrote:
> Each expression has a language so we should be able to get the Language* for renderscript:
>
>
>      lldb_private::Language* language = lldb_private::Language::FindPlugin (m_expr.GetLanguage());
>
> Then you can add a new virtual class on lldb_private::Language that can get any additional compiler flags needed for expressions and just make it work? The renderscript language would set the appropriate ABI flags needed?

Thanks very much for clarifying my suspicion. I was working on a very 
similar implementation to this, but your way is cleaner, so I'll go 
ahead and prepare a patch.

All the Best

Luke


More information about the lldb-dev mailing list