Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Workaround for missing debugging symbols for System.Private.* stuff #962

Merged
merged 1 commit into from
Feb 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build.cmd clean
- Set "desktop" project in solution explorer as your startup project

- Set startup command line to:
`@c:\corert\bin\obj\Windows_NT.x64.Debug\ryujit.rsp`
`-r:C:\corert\bin\Product\Windows_NT.x64.Debug\System.Private.CoreLib.dll @c:\corert\bin\obj\Windows_NT.x64.Debug\ryujit.rsp`

- Build & run using **F5**
- This will run the compiler. The output is `c:\corert\src\ILCompiler\repro\obj\Debug\dnxcore50\native\repro.obj` file.
Expand All @@ -48,7 +48,7 @@ build.cmd clean
- Set "desktop" project in solution explorer as your startup project

- Set startup command line to:
`@c:\corert\bin\obj\Windows_NT.x64.Debug\cpp.rsp`
`-r:C:\corert\bin\Product\Windows_NT.x64.Debug\System.Private.CoreLib.dll @c:\corert\bin\obj\Windows_NT.x64.Debug\cpp.rsp`

- `-nolinenumbers` command line option can be used to suppress generation of line number mappings in C++ files - useful for debugging

Expand Down
4 changes: 2 additions & 2 deletions src/ILCompiler/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private ArgumentSyntax ParseCommandLine(string[] args)
// HandleHelp writes to error, fails fast with crash dialog and lacks custom formatting.
syntax.HandleHelp = false;
syntax.HandleErrors = true;

syntax.DefineOption("h|help", ref _help, "Help message for ILC");
syntax.DefineOptionList("r|reference", ref referenceFiles, "Reference file(s) for compilation");
syntax.DefineOption("o|out", ref _options.OutputFilePath, "Output file path");
Expand All @@ -100,7 +100,7 @@ private ArgumentSyntax ParseCommandLine(string[] args)
Helpers.AppendExpandedPaths(_inputFilePaths, input, true);

foreach (var reference in referenceFiles)
Helpers.AppendExpandedPaths(_referenceFilePaths, reference, true);
Helpers.AppendExpandedPaths(_referenceFilePaths, reference, false);

return argSyntax;
}
Expand Down