Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: lib/MC/MCStreamer.cpp

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/MC/MCParser/AsmParser.cpp ('k') | lib/Target/ARM/ARMISelLowering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- lib/MC/MCStreamer.cpp - Streaming Machine Code Output --------------===// 1 //===- lib/MC/MCStreamer.cpp - Streaming Machine Code Output --------------===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 9
10 #include "llvm/MC/MCStreamer.h" 10 #include "llvm/MC/MCStreamer.h"
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 MCStreamer::~MCStreamer() { 30 MCStreamer::~MCStreamer() {
31 for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i) 31 for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i)
32 delete W64UnwindInfos[i]; 32 delete W64UnwindInfos[i];
33 } 33 }
34 34
35 void MCStreamer::reset() { 35 void MCStreamer::reset() {
36 for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i) 36 for (unsigned i = 0; i < getNumW64UnwindInfos(); ++i)
37 delete W64UnwindInfos[i]; 37 delete W64UnwindInfos[i];
38 W64UnwindInfos.clear();
39 EmitEHFrame = true; 38 EmitEHFrame = true;
40 EmitDebugFrame = false; 39 EmitDebugFrame = false;
41 CurrentW64UnwindInfo = 0; 40 CurrentW64UnwindInfo = 0;
42 LastSymbol = 0; 41 LastSymbol = 0;
43 SectionStack.clear(); 42 SectionStack.clear();
44 SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>()); 43 SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
45 } 44 }
46 45
47 const MCExpr *MCStreamer::BuildSymbolDiff(MCContext &Context, 46 const MCExpr *MCStreamer::BuildSymbolDiff(MCContext &Context,
48 const MCSymbol *A, 47 const MCSymbol *A,
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 if (!FrameInfos.empty() && !FrameInfos.back().End) 616 if (!FrameInfos.empty() && !FrameInfos.back().End)
618 report_fatal_error("Unfinished frame!"); 617 report_fatal_error("Unfinished frame!");
619 618
620 FinishImpl(); 619 FinishImpl();
621 } 620 }
622 621
623 MCSymbolData &MCStreamer::getOrCreateSymbolData(MCSymbol *Symbol) { 622 MCSymbolData &MCStreamer::getOrCreateSymbolData(MCSymbol *Symbol) {
624 report_fatal_error("Not supported!"); 623 report_fatal_error("Not supported!");
625 return *(static_cast<MCSymbolData*>(0)); 624 return *(static_cast<MCSymbolData*>(0));
626 } 625 }
OLDNEW
« no previous file with comments | « lib/MC/MCParser/AsmParser.cpp ('k') | lib/Target/ARM/ARMISelLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698