This allows expressions such as 'i == 1 || i == 2` to be executed using the IR interpreter.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
I'll let Sean comment on the content of the patch, but please add a test
that runs such an expression and demonstrates the correct output.
Ah, that's a bit tricky at the moment. The LLVM tip no longer compiles with VS2015 (specifically lib\Support\SourceMgr.cpp), and my Python setup for VS2013 is all wonky.
This will have to wait a bit.
http://lab.llvm.org:8011/builders/lldb-x86-windows-msvc2015
My build bot which uses MSVC 2015 is workign fine. What kind of error are
you seeing?
Whoops, my fault. I was accidentally using the VS2013 command prompt with the 2015 cmake files. Compiling happily as we speak, test coming up soon after.
This is going to have to be Sean, but his delay can be unpredictable. Keep
pinging every so often until you get a response
@spyffe, do you have time to look at this sometime this week? It's a very simple patch (the test code took longer to write than the patch itself). Thanks!
This patch is fine. I especially appreciate the time you took making the IRInterpreter properly testable. I will use this myself.
source/Commands/CommandObjectExpression.cpp | ||
---|---|---|
67 ↗ | (On Diff #54134) | This is a great feature which I will use in test cases. |
source/Expression/IRInterpreter.cpp | ||
1099 | Looks all right to me. Thank you! |
Looks like this CL broke CMake build bot - http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/14634, could you take a look?
Looks all right to me. Thank you!