Enable ILASM for *nix
authorKyungwoo Lee <kyulee@microsoft.com>
Fri, 11 Dec 2015 00:18:25 +0000 (16:18 -0800)
committerKyungwoo Lee <kyulee@microsoft.com>
Fri, 11 Dec 2015 16:19:16 +0000 (08:19 -0800)
commit1c472d376ac40130b78f32b62ab26dee1454c430
tree961e0149f21b23da01d15a77e4c2cdca077431f6
parentcb25307b3022b67cf240ff534f05778845090921
Enable ILASM for *nix

This enables ILASM for x-platforms.
1. Added a bunch of warning disable options mostly due to this prebuilt asmparse.cpp
2. Create a separte entry point "main" to pass WCHAR arguments.
3. PDB (CorSymWriter) part is disabled.
4. Converting/embedding resource file to binary is disabled.
5. jkotas kindly provided a code for IsTextUnicode which is unavailable on CoreCLR.
26 files changed:
src/CMakeLists.txt
src/dlls/CMakeLists.txt
src/dlls/mscorpe/CMakeLists.txt
src/dlls/mscorpe/ceefilegenwriter.cpp
src/dlls/mscorpe/pewriter.cpp
src/dlls/mscorpe/pewriter.h
src/ilasm/CMakeLists.txt
src/ilasm/asmenum.h
src/ilasm/asmman.cpp
src/ilasm/asmman.hpp
src/ilasm/asmparse.h
src/ilasm/assem.cpp
src/ilasm/assembler.cpp
src/ilasm/assembler.h [moved from src/ilasm/Assembler.h with 98% similarity]
src/ilasm/grammar_after.cpp
src/ilasm/grammar_before.cpp
src/ilasm/main.cpp
src/ilasm/writer.cpp
src/ilasm/writer_enc.cpp
src/ildasm/unixcoreclrloader/coreclrloader.h
src/inc/cor.h
src/inc/corhdr.h
src/pal/inc/rt/ntimage.h
src/pal/inc/rt/palrt.h
src/palrt/CMakeLists.txt
src/palrt/unicode.cpp [new file with mode: 0644]