about summary refs log tree commit diff
path: root/src/etc/monodebug.pl
AgeCommit message (Collapse)AuthorLines
2013-09-26remove type_useDaniel Micay-79/+0
This is broken, and results in poor performance due to the undefined behaviour in the LLVM IR. LLVM's `mergefunc` is a *much* better way of doing this since it merges based on the equality of the bytecode. For example, consider `std::repr`. It generates different code per type, but is not included in the type bounds of generics. The `mergefunc` pass works for most of our code but currently hits an assert on libstd. It is receiving attention upstream so it will be ready soon, but I don't think removing this broken code should wait any longer. I've opened #9536 about enabling it by default. Closes #8651 Closes #3547 Closes #2537 Closes #6971 Closes #9222
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2012-12-06librustc: Propagate type uses correctly from method calls to the containing ↵Patrick Walton-0/+80
functions. rs=bugfix This adds a new script, `monodebug.pl`. It can be used to diagnose problems stemming from incorrect combining of monomorphic generic instantiations.