Skip to content

Commit aa717db

Browse files
committed
Merging r249854:
------------------------------------------------------------------------ r249854 | kfischer | 2015-10-09 13:24:54 -0400 (Fri, 09 Oct 2015) | 11 lines 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/branches/release_37@252802 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 402fb0d commit aa717db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/MC/MCContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ void MCContext::reset() {
8282

8383
UsedNames.clear();
8484
Symbols.clear();
85+
SectionSymbols.clear();
8586
Allocator.Reset();
8687
Instances.clear();
8788
CompilationDir.clear();

0 commit comments

Comments
 (0)