Re: [lldb-dev] Custom expression evaluation target options

2015-12-04 Thread Luke Drummond via lldb-dev
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::Langu

Re: [lldb-dev] Custom expression evaluation target options

2015-12-03 Thread Greg Clayton via lldb-dev
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 flag

[lldb-dev] Custom expression evaluation target options

2015-12-03 Thread Luke Drummond via lldb-dev
Hello all I've recently tracked down a problem in the expression evaluation engine for lldb, and I'm hoping for some historical context, and possibly some direction on the most appropriate fix. ## Problem I'd like to be able to set some target options for the JIT when calling `expr myRender