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

Side by Side Diff: src/IceCompiler.cpp

Issue 2471883005: [SubZero] Generate MIPS.abiflags section (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressed review comments Created 4 years, 1 month 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 | « no previous file | src/IceELFObjectWriter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceCompiler.cpp - Driver for bitcode translation -------===// 1 //===- subzero/src/IceCompiler.cpp - Driver for bitcode translation -------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
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 /// \file 10 /// \file
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 Ctx.getErrorStatus()->assign(Translator->getErrorStatus().value()); 161 Ctx.getErrorStatus()->assign(Translator->getErrorStatus().value());
162 } else { 162 } else {
163 Ctx.lowerGlobals("last"); 163 Ctx.lowerGlobals("last");
164 Ctx.lowerProfileData(); 164 Ctx.lowerProfileData();
165 Ctx.lowerConstants(); 165 Ctx.lowerConstants();
166 Ctx.lowerJumpTables(); 166 Ctx.lowerJumpTables();
167 167
168 if (getFlags().getOutFileType() == FT_Elf) { 168 if (getFlags().getOutFileType() == FT_Elf) {
169 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); 169 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx);
170 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms()); 170 Ctx.getObjectWriter()->setUndefinedSyms(Ctx.getConstantExternSyms());
171 Ctx.emitTargetRODataSections();
171 Ctx.getObjectWriter()->writeNonUserSections(); 172 Ctx.getObjectWriter()->writeNonUserSections();
172 } 173 }
173 } 174 }
174 175
175 if (getFlags().getSubzeroTimingEnabled()) 176 if (getFlags().getSubzeroTimingEnabled())
176 Ctx.dumpTimers(); 177 Ctx.dumpTimers();
177 178
178 if (getFlags().getTimeEachFunction()) { 179 if (getFlags().getTimeEachFunction()) {
179 constexpr bool NoDumpCumulative = false; 180 constexpr bool NoDumpCumulative = false;
180 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative); 181 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative);
181 } 182 }
182 Ctx.dumpStats(); 183 Ctx.dumpStats();
183 } 184 }
184 185
185 } // end of namespace Ice 186 } // end of namespace Ice
OLDNEW
« no previous file with comments | « no previous file | src/IceELFObjectWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698