confusion between clang and llvm -
i think know difference between clang , llvm @ same time confused. understand clang front-end take program , hexing-parsing-ast creation , creating ir(llvm ir).
and llvm, backend, takes ir, optimizes , creates assembly target architecture. correct ? read llvm not have linker. how handled on os x ? how @ assembly generated llvm ?x
and llvm, backend, takes ir, optimizes , creates assembly target architecture. correct ?
what you've described there sounds pretty correct, except several target architectures, llvm generates binaries directly, without having go through intermediate assembly-printing stage.
i read llvm not have linker. how handled on os x ?
you use system linker, ld
.
also how @ assembly generated llvm ?
either disassemble output binary (with otool
, example) or use clang -s
generate assembly rather binary output.
Comments
Post a Comment