[LLVMdev] Unit tests failure in debug mode

Renato Golin renato.golin at linaro.org
Wed Jul 30 04:45:17 PDT 2014


I have a debug tree with shared objects enabled (to help streamline
the development process), and I see those unit tests failing where
they don't fail on a release/static build.

Anyone seeing these, too?

FAIL: LLVM-Unit :: Object/ObjectTests/StringTableBuilderTest.Basic
(19422 of 20473)
******************** TEST 'LLVM-Unit ::
Object/ObjectTests/StringTableBuilderTest.Basic' FAILED
********************
Note: Google Test filter = StringTableBuilderTest.Basic
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from StringTableBuilderTest
[ RUN      ] StringTableBuilderTest.Basic
unittests/Object/ObjectTests: symbol lookup error:
unittests/Object/ObjectTests: undefined symbol:
_ZN4llvm13StringMapImpl11RehashTableEv

FAIL: LLVM-Unit :: Object/ObjectTests/ObjectYAML.BinaryRef (19424 of 20473)
******************** TEST 'LLVM-Unit ::
Object/ObjectTests/ObjectYAML.BinaryRef' FAILED ********************
Note: Google Test filter = ObjectYAML.BinaryRef
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ObjectYAML
[ RUN      ] ObjectYAML.BinaryRef
unittests/Object/ObjectTests: symbol lookup error:
unittests/Object/ObjectTests: undefined symbol:
_ZN4llvm4yaml12ScalarTraitsINS_6object4yaml9BinaryRefEE6outputERKS4_PvRNS_11raw_ostreamE

cheers,
--renato



More information about the llvm-dev mailing list