File tree 2 files changed +2
-6
lines changed
src/coreclr/debug/createdump
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ typedef struct
103
103
int Pid;
104
104
int CrashThread;
105
105
int Signal;
106
- #if defined(HOST_UNIX) && !defined(HOST_OSX)
106
+ #if defined(HOST_UNIX)
107
107
int SignalCode;
108
108
int SignalErrno;
109
109
void * SignalAddress;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ int __cdecl main(const int argc, const char* argv[])
54
54
options.Signal = 0 ;
55
55
options.CrashThread = 0 ;
56
56
options.Pid = 0 ;
57
- #if defined(HOST_UNIX) && !defined(HOST_OSX)
57
+ #if defined(HOST_UNIX)
58
58
options.SignalCode = 0 ;
59
59
options.SignalErrno = 0 ;
60
60
options.SignalAddress = nullptr ;
@@ -140,7 +140,6 @@ int __cdecl main(const int argc, const char* argv[])
140
140
{
141
141
options.Signal = atoi (*++argv);
142
142
}
143
- #ifndef HOST_OSX
144
143
else if (strcmp (*argv, " --code" ) == 0 )
145
144
{
146
145
options.SignalCode = atoi (*++argv);
@@ -153,7 +152,6 @@ int __cdecl main(const int argc, const char* argv[])
153
152
{
154
153
options.SignalAddress = (void *)atoll (*++argv);
155
154
}
156
- #endif
157
155
#endif
158
156
else if ((strcmp (*argv, " -d" ) == 0 ) || (strcmp (*argv, " --diag" ) == 0 ))
159
157
{
@@ -264,5 +262,3 @@ trace_verbose_printf(const char* format, ...)
264
262
va_end (args);
265
263
}
266
264
}
267
-
268
-
You can’t perform that action at this time.
0 commit comments