llvm-6502/unittests
Diego Novillo 3c178d82ce Fix infinite recursion in ScaledNumber::toInt.
Patch from dexonsmith. The call to toInt() was calling compareTo() which
in some cases would call back to toInt(), creating an infinite loop.

Fixed by simplifying the logic in compareTo() to avoid the co-recursion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236326 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-01 17:59:15 +00:00
..
ADT Exhaustively test all triples in TripleTest. 2015-04-30 20:08:44 +00:00
Analysis Make getModRefInfo(Instruction *) not crash on certain types of instructions 2015-04-28 19:19:14 +00:00
Bitcode [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
CodeGen [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DebugInfo [PDB] Support executables and source/line info. 2015-04-17 22:40:36 +00:00
ExecutionEngine s/NULL/nullptr/ in OrcTestCommon.h to silence -Wsentinel in clang-cl 2015-04-21 15:56:21 +00:00
IR Add convenient overloads for CreateInsertElement and CreateExtractElement methods in IRBuilder 2015-04-30 09:01:22 +00:00
LineEditor Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Linker Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MC [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Option Retire llvm::array_endof in favor of non-member std::end. 2014-04-12 16:15:53 +00:00
ProfileData InstrProf: Don't combine expansion regions with code regions 2015-02-18 19:01:06 +00:00
Support Fix infinite recursion in ScaledNumber::toInt. 2015-05-01 17:59:15 +00:00
Transforms IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
CMakeLists.txt InstrProf: Add some unit tests for CoverageMapping 2015-02-04 00:15:12 +00:00
Makefile InstrProf: Add some unit tests for CoverageMapping 2015-02-04 00:15:12 +00:00
Makefile.unittest With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore. 2014-02-28 16:16:51 +00:00