• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..20-Jan-2022-

.editorconfigH A D20-Jan-2022110 76

ArchiveWrapper.cppH A D20-Jan-20226.3 KiB223181

CoverageMappingWrapper.cppH A D20-Jan-20223.7 KiB11398

LLVMWrapper.hH A D20-Jan-20222.9 KiB11396

Linker.cppH A D20-Jan-2022950 4937

PassWrapper.cppH A D20-Jan-202257.9 KiB1,7031,301

READMEH A D20-Jan-2022735 1712

RustWrapper.cppH A D20-Jan-202263.5 KiB1,7861,538

README

1This directory currently contains some LLVM support code. This will generally
2be sent upstream to LLVM in time; for now it lives here.
3
4NOTE: the LLVM C++ ABI is subject to between-version breakage and must *never*
5be exposed to Rust. To allow for easy auditing of that, all Rust-exposed types
6must be typedef-ed as "LLVMXyz", or "LLVMRustXyz" if they were defined here.
7
8Functions that return a failure status and leave the error in
9the LLVM last error should return an LLVMRustResult rather than an
10int or anything to avoid confusion.
11
12When translating enums, add a single `Other` variant as the first
13one to allow for new variants to be added. It should abort when used
14as an input.
15
16All other types must not be typedef-ed as such.
17