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

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -