1. It turns out that the crosstest scripts mix different versions of clang - build_pnacl_ir.py uses pnacl-clang from the NaCl SDK for the tests, while crosstest.py uses clang/clang++ from LLVM_BIN_PATH for the driver. The SDK has been updated to use a different version of the standard library, and now there is a mismatch as to whether int8_t is typedef'd to 'char' or 'signed char', leading to name mangling mismatches. (char, signed char, and unsigned char are distinct types.) We deal with this by using myint8_t which is explicitly defined as signed char. 2. Some ugly function pointer casting in test_arith_main.cpp is fixed/removed. 3. std::endl is replaced with "\n". 4. License text is added to tests that were touched by the above items. BUG= none R=wala@chromium.org Review URL: https://codereview.chromium.org/435353002
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| crosstest.py | Loading commit data... | |
| mem_intrin.cpp | Loading commit data... | |
| mem_intrin.h | Loading commit data... | |
| mem_intrin_main.cpp | Loading commit data... | |
| runtests.sh | Loading commit data... | |
| simple_loop.c | Loading commit data... | |
| simple_loop_main.c | Loading commit data... | |
| test_arith.cpp | Loading commit data... | |
| test_arith.def | Loading commit data... | |
| test_arith.h | Loading commit data... | |
| test_arith_frem.ll | Loading commit data... | |
| test_arith_main.cpp | Loading commit data... | |
| test_arith_sqrt.ll | Loading commit data... | |
| test_bitmanip.cpp | Loading commit data... | |
| test_bitmanip.def | Loading commit data... | |
| test_bitmanip.h | Loading commit data... | |
| test_bitmanip_intrin.ll | Loading commit data... | |
| test_bitmanip_main.cpp | Loading commit data... | |
| test_cast.cpp | Loading commit data... | |
| test_cast.h | Loading commit data... | |
| test_cast_main.cpp | Loading commit data... | |
| test_cast_to_u1.ll | Loading commit data... | |
| test_fcmp.def | Loading commit data... | |
| test_fcmp.pnacl.ll | Loading commit data... | |
| test_fcmp_main.cpp | Loading commit data... | |
| test_global.cpp | Loading commit data... | |
| test_global.h | Loading commit data... | |
| test_global_main.cpp | Loading commit data... | |
| test_icmp.cpp | Loading commit data... | |
| test_icmp.def | Loading commit data... | |
| test_icmp.h | Loading commit data... | |
| test_icmp_i1vec.ll | Loading commit data... | |
| test_icmp_main.cpp | Loading commit data... | |
| test_select.h | Loading commit data... | |
| test_select.ll | Loading commit data... | |
| test_select_main.cpp | Loading commit data... | |
| test_stacksave.c | Loading commit data... | |
| test_stacksave.h | Loading commit data... | |
| test_stacksave_main.c | Loading commit data... | |
| test_sync_atomic.cpp | Loading commit data... | |
| test_sync_atomic.def | Loading commit data... | |
| test_sync_atomic.h | Loading commit data... | |
| test_sync_atomic_main.cpp | Loading commit data... | |
| test_vector_ops.def | Loading commit data... | |
| test_vector_ops.h | Loading commit data... | |
| test_vector_ops.ll | Loading commit data... | |
| test_vector_ops_main.cpp | Loading commit data... | |
| vectors.def | Loading commit data... | |
| vectors.h | Loading commit data... |