This diff encompasses runtime support for CSI in compiler-rt as well as some initial tests.
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/csi/csi.h | ||
---|---|---|
6 | does it really need to be C-compatible? | |
7 | avoid extra defines in the interface headers, if you can. | |
15 | CSI_WEAK | |
29 | avoid defines. | |
42 | watch for spacing around "*" | |
80 | the docs show this struct differently. | |
100 | #endif // CSI_H | |
lib/csi/csirt.c | ||
18 | Please follow the llvm style guides for var/type/field names. The naming of the interface functions (and types?) is fine, please change the rest. | |
54 | use C++ (new). | |
59 | nullptr, here and everywhere | |
74 | I hate realloc. | |
82 | watch for 80 chars | |
86 | watch for {} and single-line statements. |
does it really need to be C-compatible?
This complicates the interface.