180ea63ba0
In this CL, we have introduced the "WinAdapter.h" header file. This file includes declarations and definitions that will enable compilation of the code base on non-Windows platforms. These include: * Disabling SAL annotations for non-Windows platforms. * Defining some Windows-specifc macros that are not defined on other platforms. * Defining Windows-specific types that are used throughout the codebase for non-Windows platforms. This file is currently not complete. As we go forward, we will add more classes/structs/type definitions to this file for specific purposes. The contents of this file is completely disabled (#ifdef'd away) for Windows, and do not affect Windows compilation in any way. For the most part, this is our way of enabling compilation of the codebase on non-Windows platforms without making invasive changes to the existing cpp files, and without hindering any future development. Moreover, I have added the #include of this file for all the locations that will need it for successful Linux compilation. |
||
---|---|---|
.. | ||
Transforms | ||
Analysis.h | ||
BitReader.h | ||
BitWriter.h | ||
Core.h | ||
Disassembler.h | ||
ExecutionEngine.h | ||
IRReader.h | ||
Initialization.h | ||
LinkTimeOptimizer.h | ||
Linker.h | ||
Object.h | ||
Support.h | ||
Target.h | ||
TargetMachine.h | ||
lto.h | ||
module.modulemap |