llvm-6502/unittests/ADT
Meador Inge 35b1423ee6 ADT: Correct APInt::getActiveWords for zero values
PR15138 was opened because of a segfault in the Bitcode writer.
The actual issue ended up being a bug in APInt where calls to
APInt::getActiveWords returns a bogus value when the APInt value
is 0.  This patch fixes the problem by ensuring that getActiveWords
returns 1 for 0 valued APInts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174641 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07 18:36:50 +00:00
..
APFloatTest.cpp APFloat: Make sure that we get a well-formed x87 NaN when converting from a smaller type. 2013-01-25 17:01:00 +00:00
APIntTest.cpp ADT: Correct APInt::getActiveWords for zero values 2013-02-07 18:36:50 +00:00
BitVectorTest.cpp
CMakeLists.txt Add file to CMakeLists (file added in r173505) 2013-01-25 22:29:23 +00:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp
DenseSetTest.cpp
FoldingSet.cpp
HashingTest.cpp
ilistTest.cpp Add an iplist::clearAndLeakNodesUnsafely() function. 2013-01-04 22:35:42 +00:00
ImmutableMapTest.cpp
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp
Makefile
MapVectorTest.cpp Add an insert() method to MapVector. Adds the first MapVector unit test. 2013-01-25 22:11:02 +00:00
PackedVectorTest.cpp
SCCIteratorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SmallPtrSetTest.cpp
SmallStringTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SmallVectorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang on stage2, take two. [-Wsign-compare] 2013-01-22 10:39:31 +00:00
SparseSetTest.cpp
StringMapTest.cpp
StringRefTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
TinyPtrVectorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
TripleTest.cpp Added a unit test for r173983 that verifies that Target.isiOS() works correctly. 2013-01-30 23:48:13 +00:00
TwineTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
VariadicFunctionTest.cpp