[cfe-commits] r116405 - /cfe/trunk/tools/driver/cc1as_main.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Oct 13 07:53:57 PDT 2010
Author: rafael
Date: Wed Oct 13 09:53:57 2010
New Revision: 116405
URL: http://llvm.org/viewvc/llvm-project?rev=116405&view=rev
Log:
Call InitSections when assembling. This makes clang's output match that of
llvm-mc.
Modified:
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=116405&r1=116404&r2=116405&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Wed Oct 13 09:53:57 2010
@@ -274,6 +274,7 @@
TargetAsmBackend *TAB = TheTarget->createAsmBackend(Opts.Triple);
Str.reset(TheTarget->createObjectStreamer(Opts.Triple, Ctx, *TAB, *Out,
CE, Opts.RelaxAll));
+ Str.get()->InitSections();
}
OwningPtr<MCAsmParser> Parser(createMCAsmParser(*TheTarget, SrcMgr, Ctx,
More information about the cfe-commits
mailing list