clang -cc1as: Remove a redundant initSections call
`Parser->Run(Opts.NoInitialTextSection)` calls initSections. Remove a redundant initSections to remove an extra FT_Align fragment, observed when investigating a missing MCOrgFragment relaxation issue https://github.com/ClangBuiltLinux/linux/issues/2116
This commit is contained in:
parent
5dfc2d4535
commit
913c5b4d1f
1 changed files with 0 additions and 1 deletions
|
|
@ -577,7 +577,6 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
|
|||
Triple T(Opts.Triple);
|
||||
Str.reset(TheTarget->createMCObjectStreamer(
|
||||
T, Ctx, std::move(MAB), std::move(OW), std::move(CE), *STI));
|
||||
Str->initSections(Opts.NoExecStack, *STI);
|
||||
if (T.isOSBinFormatMachO() && T.isOSDarwin()) {
|
||||
Triple *TVT = Opts.DarwinTargetVariantTriple
|
||||
? &*Opts.DarwinTargetVariantTriple
|
||||
|
|
|
|||
Loading…
Reference in a new issue