| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pkg/compiler: refactor attribute handling | Dmitry Vyukov | 2020-04-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | Introduce common infrastructure for describing and parsing attribute instead of custom per-attribute code scattered across several locations. Change align attribute syntax from the weird align_N to align[N]. This also allows to use literal constants as N. Introduce notion of builtin constants. Currently we have only PTR_SIZE, which is needed to replace align_ptr with align[PTR_SIZE]. | ||||
| * | sys: check that target consts are defined | Dmitry Vyukov | 2018-10-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | Currently when we get target consts with target.ConstMap["name"] during target initialization, we just get 0 for missing consts. This is error-prone as we can mis-type a const, or a const may be undefined only on some archs (as we have common unix code shared between several OSes). Check that all the consts are actually defined. The check detects several violations, to fix them: 1. move mremap to linux as it's only defined on linux 2. move S_IFMT to openbsd, as it's only defined and used on openbsd 3. define missing MAP_ANONYMOUS for freebsd and netbsd 4. fix extract for netbsd | ||||
| * | pkg/compiler: add check that len does not refer to array with varlen elements | Dmitry Vyukov | 2017-11-28 | 1 | -1/+1 |
| | | | | | | This [almost] always means a bug in descriptions. Fix all bugs identified by the check. | ||||
| * | Added a few more syscall descriptions, consts | Utkarsh Anand | 2017-10-30 | 1 | -0/+78 |
| and other related files. | |||||
