Open vaivaswatha opened 4 years ago
There were quite a good amount of work since Boost 1.65 on symbols visibility: I suspect that you are having an issue related to that. Do you have the possibility to test on a more recent version of Boost?
Thank you @raffienficiaud for responding on this. After your suggestion, I now tried this with Boost 1.72 but the issue remains.
I'm working on a project that uses LLVM to JIT compile code and execute it. The project uses
boost::unit_test
for its testsuite.I came across a weird behaviour:
throw
s.And an equally weird workaround: In the test that invokes the LLVM based JIT compiler, at the end, add this piece of code:
For easier reproduction of this behaviour, I have a minimal setup (the best I could do to isolate the issue) here: https://github.com/vaivaswatha/lljit/blob/master/testsuite.cpp
After building the project (by just running
make
), these can be run:Note: The workaround I have mentioned above is already in this demo code, and that needs to be commented out.
Boost version: 1.65.1 OS: Ubuntu 18.04