1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 14:15:33 +02:00

clang: add -c example (#6494)

This commit is contained in:
pixel 2021-09-09 21:55:54 +02:00 committed by GitHub
parent 2dee424da0
commit 222f3e6130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,3 +18,7 @@
- Compile source code into LLVM Intermediate Representation (IR): - Compile source code into LLVM Intermediate Representation (IR):
`clang -S -emit-llvm {{file.c}} -o {{file.ll}}` `clang -S -emit-llvm {{file.c}} -o {{file.ll}}`
- Compile source code without linking:
`clang -c {{input_source.c}}`