[lldb-dev] Adding options to ClangExpressionParser?
gclayton at apple.com
Mon Sep 15 17:33:12 PDT 2014
I believe we have an expression options class that can optionally be passed into expression evaluation. We should extend this class to allow for options to be added to that.
> On Sep 15, 2014, at 5:05 PM, Tong Shen <endlessroad at google.com> wrote:
> Hi all,
> I think there should be an interface for setting user-defined compiler
> options for the JIT compiler.
> For example, executable is compiled with -fno-rtti, but JIT compiler
> doesn't set that by default. This difference will cause search failure
> of certain rtti objects, which causes an immediate crash (the crash
> code is in LLVM, not in LLDB) ...
> What's the preferred way to do this? Here's what I'm thinking:
> 1. Add an option to source/Target/Target.cpp
> 2. Make ClangExpressionParser honor that option.
> Thanks in advance for any suggestions :-)
> Best Regards, Tong Shen
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
More information about the lldb-dev