[Lldb-commits] [PATCH] D19124: [LLDB] Added support for PHI nodes to IR interpreter
Sean Callanan via lldb-commits
lldb-commits at lists.llvm.org
Mon May 9 13:01:35 PDT 2016
spyffe accepted this revision.
spyffe added a comment.
This revision is now accepted and ready to land.
This patch is fine. I especially appreciate the time you took making the IRInterpreter properly testable. I will use this myself.
================
Comment at: source/Commands/CommandObjectExpression.cpp:67
@@ -67,1 +66,3 @@
+ { LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "top-level", 'p', OptionParser::eNoArgument , NULL, NULL, 0, eArgTypeNone, "Interpret the expression as top-level definitions rather than code to be immediately executed."},
+ { LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "allow-jit", 'j', OptionParser::eRequiredArgument, nullptr, nullptr, 0, eArgTypeBoolean, "Controls whether the expression can fall back to being JITted if it's not supported by the interpreter (defaults to true)."}
};
----------------
This is a great feature which I will use in test cases.
================
Comment at: source/Expression/IRInterpreter.cpp:1102
@@ -1058,1 +1101,3 @@
+ }
+ break;
case Instruction::GetElementPtr:
----------------
Looks all right to me. Thank you!
http://reviews.llvm.org/D19124
More information about the lldb-commits
mailing list