llvm-project/llvm/lib
Rafael Espindola 78d947b4f5 Fix pr27728.
Sorry for the lack testcase. There is one in the pr, but it depends on
std::sort and the .ll version is 110 lines, so I don't think it is
wort it.

The bug was that we were sorting after adding a terminator, and the
sorting algorithm could end up putting the terminator in the middle of
the List vector.

With that we would create a Spans map entry keyed on nullptr which would
then be added to CUs and fail in that sorting.

llvm-svn: 270165
2016-05-20 00:38:28 +00:00
..
Analysis Allow -inline-threshold to override default threshold. 2016-05-19 23:02:09 +00:00
AsmParser Refactor duplicated code. NFC. 2016-05-12 12:37:52 +00:00
Bitcode Avoid temporary vector for sorting in BitcodeWriter 2016-05-16 22:47:15 +00:00
CodeGen Fix pr27728. 2016-05-20 00:38:28 +00:00
DebugInfo Fix -Wmicrosoft-enum-value warning 2016-05-19 20:20:22 +00:00
ExecutionEngine [RuntimeDyld][MachO] Add support for SUBTRACTOR relocations between anonymous 2016-05-19 23:26:05 +00:00
Fuzzer [LibFuzzer] 2016-05-19 22:00:33 +00:00
IR Remove specializations of ProfileSummary 2016-05-19 21:53:28 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO Delete Reloc::Default. 2016-05-18 22:04:49 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Return a StringRef from getSection. 2016-05-11 18:21:59 +00:00
MC Temporarily revert r270070 2016-05-19 15:58:05 +00:00
Object Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
ObjectYAML [obj2yaml] [yaml2obj] Support for MachO Load Command data 2016-05-19 20:54:43 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes New pass: guard widening 2016-05-18 22:55:34 +00:00
ProfileData Remove specializations of ProfileSummary 2016-05-19 21:53:28 +00:00
Support Work around a glibc bug: backtrace() spuriously fails if 2016-05-18 22:26:36 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target Record a TargetMachine instead of a Reloc::Model. 2016-05-19 22:07:57 +00:00
Transforms Add const qualifiers to appease bots; NFC 2016-05-19 23:15:59 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00