Revision 0422fd6e42ef05cb8da9ebe3f302119cd03a6db3 authored by Elliot Saba on 30 August 2016, 05:05:29 UTC, committed by Tony Kelman on 31 August 2016, 13:55:33 UTC
* Small build system modifications to make ppc64le compileable * Make things more explicit for big-endian PPC64 (cherry picked from commit fc17a98bcf5441753fd6475a2f264ca1c9d68236)
1 parent fe30255
llvm-3.7.0.patch
commit 06e88db43d1ff367d03b731c9c1f4f69da78149b
Author: Keno Fischer <kfischer@college.harvard.edu>
Date: Fri Oct 9 17:24:54 2015 +0000
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
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp
index ff195d0..2160b4e 100644
--- a/lib/MC/MCContext.cpp
+++ b/lib/MC/MCContext.cpp
@@ -80,6 +80,7 @@ void MCContext::reset() {
UsedNames.clear();
Symbols.clear();
+ SectionSymbols.clear();
Allocator.Reset();
Instances.clear();
CompilationDir.clear();
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...