mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 16:27:49 +03:00
clang: add -emit-llvm example (#2499)
This commit is contained in:
parent
19f7958076
commit
5f67df146b
@ -13,3 +13,7 @@
|
||||
- Include libraries located at a different path than the source file:
|
||||
|
||||
`clang {{input_source.c}} -o {{output_executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}`
|
||||
|
||||
- Compile source code into LLVM Intermediate Representation (IR):
|
||||
|
||||
`clang -S -emit-llvm {{file.c}} -o {{file.ll}}`
|
||||
|
Loading…
Reference in New Issue
Block a user