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

Commit

Permalink
Merge pull request #962 from jkotas/issue-941
Browse files Browse the repository at this point in the history
Workaround for missing debugging symbols for System.Private.* stuff
  • Loading branch information
jkotas committed Feb 29, 2016
2 parents d3f95ea + 2f98e96 commit 1fae497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 1fae497

Please sign in to comment.