commit | 41c8ba9d61acb86847ad6cf823656e212d8dbbf5 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Tue Jan 28 23:12:53 2014 +0000 |
committer | David Woodhouse <dwmw2@infradead.org> | Tue Jan 28 23:12:53 2014 +0000 |
tree | efcb7a7b032fec0ed330e442838b7eebb73f338c | |
parent | d5d381b76253fb6ccda6adc7b9d7239305b3d881 [diff] |
Keep the MCSubtargetInfo in the MCRelxableFragment class. Needed to fix PR18303 to correctly re-encode the instruction if it is relaxed. We keep a copy of the MCSubtargetInfo to make sure that we are not effected by future changes to the subtarget info coming from the assembler (e.g. when parsing .code 16 directived). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200347 91177308-0d34-0410-b5e6-96231b3b80d8