How stable is the LLVM build language?

LLVM Language Reference Affirms It Can Be Used

as a presentation on a CD on a disk (suitable for quick loading by the Just-In-Time compiler)

How stable is this view? For example, can I create it today using LLVM 3.1 and still expect it to be used using the future LLVM, say, a hypothetical LLVM 4.5 in three years?

Assuming I have no external dependencies, can I use it to generate binary for another architecture?

+5
source share
2 answers

: . . , , IR/bitcode, 3.1, 4.5 - LLVM , , , . LLVM (AOT), .

, . LLVM () . , IR, . : http://llvm.org/docs/FAQ.html#can-i-compile-c-or-c-code-to-platform-independent-llvm-bitcode, " " : https://llvm.org/docs/tutorial/LangImpl10.html

, , LLVM, : " LLVM IR, C, ?". : , C .

+8

: LLVM.

-, , . llvm llvm:

  • . , promises .
  • , X.Y, X.Z (X + 1).0.
  • , . , nsw - - , IR.
  • , .
  • , - . , , promises.
+3

All Articles