[llvm-commits] [llvm] r155557 - in /llvm/trunk: docs/ProgrammersManual.html include/llvm/ADT/FlatArrayMap.h include/llvm/ADT/MultiImplMap.h include/llvm/ADT/SmallMap.h unittests/ADT/SmallMapTest.cpp
Eric Christopher
echristo at apple.com
Wed Apr 25 10:52:38 PDT 2012
On Apr 25, 2012, at 10:09 AM, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:
> Author: dyatkovskiy
> Date: Wed Apr 25 12:09:38 2012
> New Revision: 155557
>
> URL: http://llvm.org/viewvc/llvm-project?rev=155557&view=rev
> Log:
> First implementation of:
> - FlatArrayMap. Very simple map container that uses flat array inside.
> - MultiImplMap. Map container interface, that has two modes, one for small amount of elements and one for big amount.
> - SmallMap. SmallMap is DenseMap compatible MultiImplMap. It uses FlatArrayMap for small mode, and DenseMap for big mode.
>
> Also added unittests for new classes and update for ProgrammersManual.
> For more details about new classes see ProgrammersManual and comments in sourcecode.
This appears to be failing on darwin at least:
******************** TEST 'LLVM-Unit :: ADT/Release+Asserts/ADTTests/SmallMapTest.GeneralTest' FAILED ********************Note: Google Test filter = SmallMapTest.GeneralTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SmallMapTest
[ RUN ] SmallMapTest.GeneralTest
0 ADTTests 0x000000010023ba42 PrintStackTrace(void*) + 34
1 ADTTests 0x000000010023bf69 SignalHandler(int) + 697
2 libSystem.B.dylib 0x00007fff83b691ba _sigtramp + 26
3 libSystem.B.dylib 0x0000000000000001 _sigtramp + 2085187169
4 ADTTests 0x0000000100144ed5 SmallMapTest_GeneralTest_Test::TestBody() + 405
5 ADTTests 0x00000001001e6fba testing::Test::Run() + 282
6 ADTTests 0x00000001001e7910 testing::TestInfo::Run() + 288
7 ADTTests 0x00000001001e7e19 testing::TestCase::Run() + 249
8 ADTTests 0x00000001001ed362 testing::internal::UnitTestImpl::RunAllTests() + 1058
9 ADTTests 0x00000001001ecf2a testing::UnitTest::Run() + 42
10 ADTTests 0x000000010020422a main + 42
11 ADTTests 0x00000001000011e4 start + 52
I've reverted the patch for now.
-eric
More information about the llvm-commits
mailing list