소스코드에 대한 자세한 내용들은 어떤 웹사이트에 잘정리되어 있기 보다는,
소스코드 내에 주석으로 잘 정리되어 있습니다.
그리고 그런 주석들을 바탕으로 웹에서 볼 수 있는 Doxygen 을 제공합니다.
set(LLVM_LINK_COMPONENTS
BitWriter
Core
ExecutionEngine
MC
MCJIT
Support
nativecodegen
)LLVM_LINK_COMPONENTS 의 값을 설정함으로서, Module들을 링크합니다.
이때 사용되는 이름은 만들어지는 라이브러리 파일입니다.(.ao 파일)
# Example. lib/ir/CmakeLists.txt
~
add_llvm_library(LLVMCore
~
)
~https://llvm.org/doxygen/group__LLVMCCore.html
https://llvm.org/doxygen/classllvm_1_1ExecutionEngine.html
LLVM Components