Clear the stub map in getSortedStubs.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 7 Apr 2015 12:59:28 +0000 (12:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 7 Apr 2015 12:59:28 +0000 (12:59 +0000)
commit1252bb4b17ba746d45d436ce72987c182793c9c6
treee1d8a619fd976adb80fc31abcee0f568a12f84ba
parent0e407e7bbff8bb26f25a8c5bc5926902abc44e92
Clear the stub map in getSortedStubs.

This makes sure they are only output once (and frees a bit of memory).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234313 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/CodeGen/MachineModuleInfoImpls.h
lib/CodeGen/MachineModuleInfoImpls.cpp