commit | db9835d0895337eb94c19e3a30b7d3fc8fcddfd5 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Nov 15 14:40:36 2010 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Nov 15 14:40:36 2010 +0000 |
tree | 44c7e159de2a82428c8280b8a1c08c1b68188b60 | |
parent | 38e0c9ba578bb1f2871fa3f15c9a97a83cc17c82 [diff] |
Fix PR8565. This moves most of the isUsed logic to the MCSymbol itself. With this we get a bit more relaxed about allowing definitions after uses: uses that don't evaluate their argument immediately (jmp foo) are accepted. ddunbar, this was the smallest compromise I could think of that lets us accept gcc (and clang!) assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119144 91177308-0d34-0410-b5e6-96231b3b80d8