llvm-6502/unittests/ADT
Michael Gottesman e7413972a4 [APInt] Fixed bug where APInt(UINT32_MAX, 0) would blow up when being constructed.
This was due to arithmetic overflow in the getNumBits() computation. Now we
cast BitWidth to a uint64_t so that does not occur during the computation. After
the computation is complete, the uint64_t is truncated when the function
returns.

I know that this is not something that is likely to happen, but it *IS* a valid
input and we should not blow up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199609 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-19 20:33:38 +00:00
..
APFloatTest.cpp
APIntTest.cpp [APInt] Fixed bug where APInt(UINT32_MAX, 0) would blow up when being constructed. 2014-01-19 20:33:38 +00:00
BitVectorTest.cpp Fix a buffer overrun detected by AddressSanitizer. 2013-12-19 02:35:26 +00:00
CMakeLists.txt Add a polymorphic_ptr<T> smart pointer data type. It's a somewhat silly 2013-11-09 04:06:02 +00:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp
DenseSetTest.cpp
FoldingSet.cpp
HashingTest.cpp
ilistTest.cpp
ImmutableMapTest.cpp
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. 2013-11-19 03:08:35 +00:00
Makefile
MapVectorTest.cpp
OptionalTest.cpp
PackedVectorTest.cpp
PointerUnionTest.cpp
polymorphic_ptr_test.cpp Fix a null pointer dereference when copying a null polymorphic pointer. 2013-11-13 02:48:20 +00:00
SCCIteratorTest.cpp
SmallPtrSetTest.cpp Make the moved-from SmallPtrSet be a valid, empty, small-state object. 2013-11-20 18:29:56 +00:00
SmallStringTest.cpp
SmallVectorTest.cpp
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StringMapTest.cpp Fix break introduced in r198377 due to using a local type as a template parameter. 2014-01-03 00:00:41 +00:00
StringRefTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
TinyPtrVectorTest.cpp
TripleTest.cpp Darwin: update default iOS version to 5.0 2013-12-10 11:53:16 +00:00
TwineTest.cpp
VariadicFunctionTest.cpp