The Clang compiler is built on the basis of the LLVM infrastructure, the Clang interface uses C / C ++ source code and generates LLVM-IR, who does the work with the Optimizer and code generation?
Since optimizer pass libraries must be strategically placed and called in order to generate optimized code, where the order is specified, who generates the target code? Is this part of the Clang Fronted program, or is there any other program that does this optimization and creation?
There are actually two clangs.
clang
: , (AST) . . -cc1, : clang -cc1 -ast-dump
-cc1
clang -cc1 -ast-dump
-, : front-end LLVM IR , , . , clang main.c .
clang main.c
, , clangs:
clang -help clang -help-hidden clang -cc1 -help clang -cc1 -help-hidden
Source: https://habr.com/ru/post/1648360/More articles:Inverse date parsing - javaImportError: with error 'not a package' - pythonHow to add onmessage handler for mrop plugin - handlerNode JS promise request for PUT with auth - node.jsDefining documents for converting md to pdf - pandocΠΠΎΠΆΠ½ΠΎ Π»ΠΈ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΡΠ΅ΡΠ½ΡΠΉ "ΡΠ²Π΅Ρ ΡΠΎΠ½Π°" ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ iOS? - iosKarma / PhantomJS cannot run unittests written in typescript - javascriptChange Signing Certificate in Xcode 8 Beta 2 - certificatePython Link to old OpenSSL - pythonPrevent JavaScript Typescript call without errors - javascriptAll Articles