Skip to content

Commit

Permalink
Merge pull request #594 from Arakis/034-dwarf-fix
Browse files Browse the repository at this point in the history
fix stackoverflow
  • Loading branch information
tgiphil committed Feb 10, 2019
2 parents 09d5b2f + 0363937 commit 530349e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Source/Mosa.Compiler.Extension.Dwarf/DwarfCompilerStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ protected override void RunPostCompile()
}
else
{
var sectionsOldDelegate = Linker.CreateExtraSections;
Linker.CreateExtraSections = () =>
{
var sections = Linker.CreateExtraSections();
var sections = new List<Section>();
sections.AddRange(sectionsOldDelegate());
sections.AddRange(CreateExtraSections());
return sections;
};
Expand Down
4 changes: 0 additions & 4 deletions Source/Mosa.Compiler.MosaTypeSystem/packages.config

This file was deleted.

0 comments on commit 530349e

Please sign in to comment.