You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#ifndef FEATURE_PAL
if (ptr[0]!='-'&& ptr[0]!='/'){
#else
if (ptr[0]!='-'){
#endif
The fix could be to declare the parameter as -i on Linux, but this would cause inconsistencies with the documentation. I don't know why / is filtered out to begin with.
The text was updated successfully, but these errors were encountered:
The reason '/' is not allowed on xplat is that it caused problems parsing file paths as args. It most cases '-' is used except for this case and for the dml '/d' which isn't supported on lldb.
I'll fix it by adding -i as an option and add it to the doc.
mikem8361
added a commit
to mikem8361/diagnostics
that referenced
this issue
Aug 24, 2020
On Linux/MacOS '/' isn't allowed as an option but the dumpil command had '/i'. The reason '/' is not allowed on xplat is that it caused problems parsing file paths as args. It most cases '-' is used except for this case and for the dml '/d' which isn't supported on lldb.
I'll fix it by adding -i as an option to dumpil and add it to the doc.
This also give me the chance to remove a bunch of unnecessary #ifndef FEATURE_PAL around the "/d" DML option.
Issue #dotnet#1478
On Linux/MacOS '/' isn't allowed as an option but the dumpil command had '/i'. The reason '/' is not allowed on xplat is that it caused problems parsing file paths as args. It most cases '-' is used except for this case and for the dml '/d' which isn't supported on lldb.
I'll fix it by adding -i as an option to dumpil and add it to the doc.
This also give me the chance to remove a bunch of unnecessary #ifndef FEATURE_PAL around the "/d" DML option.
Issue ##1478
dumpil
can't be called on Linux with thei
parameter (to feed a direct address to IL code)The problem is that one one side
dumpil
declares the/i
parameter:But then on Linux, parameters are not allowed to start with a
/
:The fix could be to declare the parameter as
-i
on Linux, but this would cause inconsistencies with the documentation. I don't know why/
is filtered out to begin with.The text was updated successfully, but these errors were encountered: