Clear SectionSymbols in MCContext::Reset
authorKeno Fischer <kfischer@college.harvard.edu>
Fri, 9 Oct 2015 17:24:54 +0000 (17:24 +0000)
committerKeno Fischer <kfischer@college.harvard.edu>
Fri, 9 Oct 2015 17:24:54 +0000 (17:24 +0000)
commit06e88db43d1ff367d03b731c9c1f4f69da78149b
treed7eb8a342cd7ec85987ec0e5d5d4a1f422f21230
parent969c1a317d2533e676124ee656a5c1c911a22293
Clear SectionSymbols in MCContext::Reset

This was just forgotten when SectionSymbols was introduced and could cause
corruption if the MCContext was reused after Reset.

Reviewers: rafael

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D13547

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCContext.cpp