llvm-6502/lib
Rafael Espindola fda60d35c2 Fix libstdc++ build on ARM linux and part of PR5770.
MI was not being used but it was also not being deleted, so it was kept in the garbage list. The memory itself was freed once the function code gen was done.

Once in a while the codegen of another function would create an instruction on the same address. Adding it to the garbage group would work once, but when another pointer was added it would cause an assert as "Cache" was about to be pushed to Ts.

For a patch that make us detect problems like this earlier, take a look at

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092758.html

With that patch we assert as soon and the new instruction is added to the garbage set.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91691 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-18 16:59:39 +00:00
..
Analysis Revert this use of NSW; this one isn't actually safe. NSW addition 2009-12-18 03:57:04 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Add MSP430 interrupt calling conv. No functionality change yet. 2009-12-07 02:27:35 +00:00
Bitcode Remove isPod() from DenseMapInfo, splitting it out to its own 2009-12-15 07:26:43 +00:00
CodeGen Add Loop contains utility methods for testing whether a loop 2009-12-18 01:24:09 +00:00
CompilerDriver Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
ExecutionEngine Don't codegen available_externally functions. Fixes http://llvm.org/PR5735. 2009-12-17 21:35:29 +00:00
Linker Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a lame API. 2009-11-10 00:43:58 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support now that libsystem no longer uses SmallVector, we can move 2009-12-16 08:44:24 +00:00
System Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
Target Fix libstdc++ build on ARM linux and part of PR5770. 2009-12-18 16:59:39 +00:00
Transforms Optimize icmp of null and select of two constants even if the select has 2009-12-18 08:22:35 +00:00
VMCore Add utility routines for NSW multiply. 2009-12-18 03:10:26 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00