zig/lib/std/dwarf
Stephen Gregoratto 285970982a Add illumos OS tag
- Adds `illumos` to the `Target.Os.Tag` enum. A new function,
  `isSolarish` has been added that returns true if the tag is either
  Solaris or Illumos. This matches the naming convention found in Rust's
  `libc` crate[1].
- Add the tag wherever `.solaris` is being checked against.
- Check for the C pre-processor macro `__illumos__` in CMake to set the
  proper target tuple. Illumos distros patch their compilers to have
  this in the "built-in" set (verified with `echo | cc -dM -E -`).

  Alternatively you could check the output of `uname -o`.

Right now, both Solaris and Illumos import from `c/solaris.zig`. In the
future it may be worth putting the shared ABI bits in a base file, and
mixing that in with specific `c/solaris.zig`/`c/illumos.zig` files.

[1]: 6e02a329a2/src/unix/solarish
2023-10-02 15:31:49 -06:00
..
abi.zig Add illumos OS tag 2023-10-02 15:31:49 -06:00
AT.zig
ATE.zig
call_frame.zig compiler: move unions into InternPool 2023-08-22 13:54:14 -07:00
EH.zig - add default register rule 2023-07-20 22:58:13 -04:00
expressions.zig Remove @fabs, fabs and absCast/Int from std lib 2023-09-27 11:24:28 -07:00
FORM.zig
LANG.zig
OP.zig wasm: Implement debug info for parameters 2022-05-09 18:51:46 +02:00
TAG.zig