diff --git a/src/coreclr/tools/aot/ILCompiler/Program.cs b/src/coreclr/tools/aot/ILCompiler/Program.cs index 2ba003f6a177c5..469a09b95224a7 100644 --- a/src/coreclr/tools/aot/ILCompiler/Program.cs +++ b/src/coreclr/tools/aot/ILCompiler/Program.cs @@ -257,8 +257,7 @@ public int Run() } } - if (Get(_command.EnableDebugInfo)) - compilationRoots.Add(new ManagedDataDescriptorProvider()); + compilationRoots.Add(new ManagedDataDescriptorProvider()); string win32resourcesModule = Get(_command.Win32ResourceModuleName); if (typeSystemContext.Target.IsWindows && !string.IsNullOrEmpty(win32resourcesModule))