зеркало из https://github.com/microsoft/clang-1.git
Call InitSections when assembling. This makes clang's output match that of
llvm-mc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
380aaa4421
Коммит
4f036fad04
|
@ -274,6 +274,7 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, Diagnostic &Diags) {
|
|||
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче