Displaying 2 results from an estimated 2 matches for "inputgraphtest".
2014 Jun 30
3
[LLVMdev] LLD dynamic compilation
...pattern was added a few weeks
> back, and may be there is some sort of uninitialized variable ?
This is my back-trace at "-O2 -g" (since -O1 pass):
operator() (file=<optimized out>, __closure=0x7fffffffde40) at
/home/rengolin/devel/llvm/src/llvm/tools/lld/unittests/DriverTests/InputGraphTest.cpp:197
197 _graph->registerObserver([&](File *file) {
files.push_back(file->path()); });
(gdb) bt
#0 operator() (file=<optimized out>, __closure=0x7fffffffde40) at
/home/rengolin/devel/llvm/src/llvm/tools/lld/unittests/DriverTests/InputGraphTest.cpp:197
#1 llvm::function_ref<...
2014 Jun 30
2
[LLVMdev] LLD dynamic compilation
...eed some guidance...
I know it's not production ready for x86 and ARM (the idea is to make
it so). My steps:
I've added it to tools/lld and ran CMake again (on x86_64) on a
standard release build (static linking). It works, builds but I see
one unit test error:
Note: Google Test filter = InputGraphTest.Observer
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from InputGraphTest
[ RUN ] InputGraphTest.Observer
0 DriverTests 0x0000000000498f42
1 DriverTests 0x0000000000498c24
2 libpthread.so.0 0x00007f0ecbf7f4b0
3 Drive...