commit | 6f20310e9eede9ab68fea1ffdfba9881b8b80684 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Sat Mar 12 10:23:07 2016 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Sat Mar 12 10:23:07 2016 +0000 |
tree | 3bea9d0a13e306cc2d7eb9eb1a7f745a2233f5f4 | |
parent | 8335dded891c2fc6a0c2cf4f62dc2f7ec977b172 [diff] |
Fix for PR 26378 This patch corresponds to review: http://reviews.llvm.org/D17712 We were not clearing the TOC vector in PPCAsmPrinter when initializing it. This caused duplicate definition asserts when the pass is reused on the module (i.e. with -compile-twice or in JIT contexts). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263338 91177308-0d34-0410-b5e6-96231b3b80d8