Skip to content

Commit

Permalink
Rename --instructionset to --instruction-set in ilc (#72325)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Jul 16, 2022
1 parent cc75427 commit 072eda8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/ilasm/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ extern "C" int _cdecl wmain(int argc, _In_ WCHAR **argv)
#pragma warning(pop)
#endif
{
printf("\nMicrosoft (R) .NET IL Assembler version " CLR_PRODUCT_VERSION);
printf("\n.NET IL Assembler version " CLR_PRODUCT_VERSION);
printf("\n%S\n\n", VER_LEGALCOPYRIGHT_LOGO_STR_L);
goto PrintUsageAndExit;

Expand Down Expand Up @@ -630,7 +630,7 @@ extern "C" int _cdecl wmain(int argc, _In_ WCHAR **argv)
//======================================================================
if(bLogo)
{
printf("\nMicrosoft (R) .NET IL Assembler. Version " CLR_PRODUCT_VERSION);
printf("\n.NET IL Assembler. Version " CLR_PRODUCT_VERSION);
printf("\n%S", VER_LEGALCOPYRIGHT_LOGO_STR_L);
}

Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/ildasm/dasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7029,7 +7029,7 @@ void DumpPreamble()
else if(g_fDumpRTF)
{
}
sprintf_s(szString,SZSTRING_SIZE,"// Microsoft (R) .NET IL Disassembler. Version " CLR_PRODUCT_VERSION);
sprintf_s(szString,SZSTRING_SIZE,"// .NET IL Disassembler. Version " CLR_PRODUCT_VERSION);
printLine(g_pFile,COMMENT(szString));
if(g_fDumpHTML)
{
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/ildasm/windasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ FILE* OpenOutput(_In_ __nullterminated const char* szFileName);

void PrintLogo()
{
printf("Microsoft (R) .NET IL Disassembler. Version " CLR_PRODUCT_VERSION);
printf(".NET IL Disassembler. Version " CLR_PRODUCT_VERSION);
printf("\n%S\n\n", VER_LEGALCOPYRIGHT_LOGO_STR_L);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<IlcArg Condition="$(IlcFoldIdenticalMethodBodies) == 'true'" Include="--methodbodyfolding" />
<IlcArg Condition="$(Optimize) == 'true' and $(IlcOptimizationPreference) == 'Size'" Include="--Os" />
<IlcArg Condition="$(Optimize) == 'true' and $(IlcOptimizationPreference) == 'Speed'" Include="--Ot" />
<IlcArg Condition="$(IlcInstructionSet) != ''" Include="--instructionset:$(IlcInstructionSet)" />
<IlcArg Condition="$(IlcInstructionSet) != ''" Include="--instruction-set:$(IlcInstructionSet)" />
<IlcArg Condition="$(IlcDisableReflection) == 'true'" Include="--reflectiondata:none" />
<IlcArg Condition="$(IlcDisableReflection) == 'true'" Include="--feature:System.Collections.Generic.DefaultComparers=false" />
<IlcArg Condition="$(IlcSingleThreaded) == 'true'" Include="--parallelism:1" />
Expand Down
4 changes: 2 additions & 2 deletions src/coreclr/tools/aot/ILCompiler/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private Program()
private void Help(string helpText)
{
Console.WriteLine();
Console.Write("Microsoft (R) .NET Native IL Compiler");
Console.Write(".NET Native IL Compiler");
Console.Write(" ");
Console.Write(typeof(Program).GetTypeInfo().Assembly.GetName().Version);
Console.WriteLine();
Expand Down Expand Up @@ -215,7 +215,7 @@ private ArgumentSyntax ParseCommandLine(string[] args)
syntax.DefineOptionList("feature", ref _featureSwitches, "Feature switches to apply (format: 'Namespace.Name=[true|false]'");
syntax.DefineOptionList("runtimeopt", ref _runtimeOptions, "Runtime options to set");
syntax.DefineOption("parallelism", ref _parallelism, "Maximum number of threads to use during compilation");
syntax.DefineOption("instructionset", ref _instructionSet, "Instruction set to allow or disallow");
syntax.DefineOption("instruction-set", ref _instructionSet, "Instruction set to allow or disallow");
syntax.DefineOption("guard", ref _guard, "Enable mitigations. Options: 'cf': CFG (Control Flow Guard, Windows only)");
syntax.DefineOption("preinitstatics", ref _preinitStatics, "Interpret static constructors at compile time if possible (implied by -O)");
syntax.DefineOption("nopreinitstatics", ref _noPreinitStatics, "Do not interpret static constructors at compile time");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<IlcArg Include="--instructionset:sse4.2" />
<IlcArg Include="--instruction-set:sse4.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<IlcArg Include="--instructionset:avx2" />
<IlcArg Include="--instruction-set:avx2" />
</ItemGroup>

<PropertyGroup>
Expand Down

0 comments on commit 072eda8

Please sign in to comment.