Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-01-08 05:54:56 +0300
committerJan Kotas <jkotas@microsoft.com>2016-01-08 07:32:47 +0300
commitb43009fb10ec40fb9c8e17e3e393210073a095aa (patch)
tree077b41f52a14708dd9824bd28c156673269fe0ff /src/ILCompiler.Compiler
parentbaebb012c89ee16d9b15b6adb62f17e0b8c4ee0b (diff)
Add workaround for #608
Diffstat (limited to 'src/ILCompiler.Compiler')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectWriter.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectWriter.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectWriter.cs
index 839e90baa..10623e162 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectWriter.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectWriter.cs
@@ -125,6 +125,10 @@ namespace ILCompiler.DependencyAnalysis
public string[] BuildFileInfoMap(IEnumerable<DependencyNode> nodes)
{
+ // TODO: DebugInfo on Unix https://github.com/dotnet/corert/issues/608
+ if (_targetPlatform.OperatingSystem != TargetOS.Windows)
+ return null;
+
ArrayBuilder<string> debugFileInfos = new ArrayBuilder<string>();
foreach (DependencyNode node in nodes)
{