Kyungwoo Lee
Kyungwoo Lee
asmparse.c (for ilasm) is currently prebuilt using an internal version of yacc. This also caused many compilations warnings on x-platforms.
Unix supports much longer filenames. https://github.com/dotnet/coreclr/blob/master/src/ilasm/main.cpp#L69
IsTextUnicode is a Win32 API and a simplified version is used in ilasm. We need a more general implementation for x-platform.
ILDASM incorrectly reconstruct EH clauses when fTryInCode is true. A part of reason is due to sort which shouldn't be applied -- https://github.com/dotnet/coreclr/blob/master/src/ildasm/dis.cpp#L352 In addition, inserting ".try" clauses into source...
Compared to ilasm, ildasm is way slow to the following case --- a few minutes with debug build. https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b399444/Repro.cs This may or may not be expected but worth investigation on...
Currently ilasm /DEBUG\* is ignored on CoreCLR.
Currently we use environment variable to check target architecture. For instance: https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/Directed/intrinsic/pow/pow1.cs#L25-L26 When this API is fully functional for all targets/platforms, we should use it instead for cross-platforms.
When I start using ILASM from VS environment instead of ILASM from the CoreCLR build, I ran into the following assertion in codegenxarch.cpp. ``` noway_assert(op1->OperGet() == GT_LCL_VAR_ADDR || op1->OperGet() ==...
These functions in https://github.com/dotnet/coreclr/blob/master/src/jit/emitinl.h are about encoding/decoding integer callee save registers. This should be refactored in a better form without duplication.
In `emitEncodeCallGCregs` and `emitDecodeCallGCregs`, JIT uses instruction operands to encode/decode GC callee save registers for call/branch instructions. Since these operands normally represent the target registers associated with the instruction, it's...