diff options
author | Tim Northover <tnorthover@apple.com> | 2013-09-16 16:43:19 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-09-16 16:43:19 +0000 |
commit | 03f9197d62dddfb70e70acb5563518f589d29251 (patch) | |
tree | 47cb7a587c45d11c8ab48b165c1a0f54441eb0c1 /lib/Target | |
parent | 6dd670af758ee111593f81f355325e1b5960b870 (diff) | |
download | external_llvm-03f9197d62dddfb70e70acb5563518f589d29251.zip external_llvm-03f9197d62dddfb70e70acb5563518f589d29251.tar.gz external_llvm-03f9197d62dddfb70e70acb5563518f589d29251.tar.bz2 |
TableGen: give asm match classes deterministic order.
TableGen was sorting the entries in some of its internal data
structures by pointer. This order filtered through to the final
matching table and affected the diagnostics produced on bad assembly
occasionally.
It also turns out STL algorithms are ridiculously easy to misuse on
containers with custom order methods. (No bugs before, or now that I
know of, but plenty in the middle).
This should fix the sanitizer bot, which ends up with weird pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions