zig/std/special/compiler_rt
Andrew Kelley cf39819478 add new kind of test: generating .h files. and more
* docgen supports obj_err code kind for demonstrating
   errors without explicit test cases
 * add documentation for `extern enum`. See #367
 * remove coldcc keyword and add @setIsCold. See #661
 * add compile errors for non-extern struct, enum, unions
   in function signatures
 * add .h file generation for extern struct, enum, unions
2018-01-22 22:24:07 -05:00
..
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-22 00:50:30 -05:00
2017-08-19 01:43:43 -04:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00

This compiler-rt library is ported from LLVM.

It's needed because LLVM emits library calls to compiler-rt when hardware lacks functionality, for example, 64-bit integer multiplication on 32-bit x86.

This library is automatically built as-needed for the compilation target and then statically linked and therefore is a transparent dependency for the programmer.

Any bugs should be solved by trying to duplicate the bug upstream.

  • If the bug exists upstream, get it fixed with the LLVM team and then port the fix downstream to Zig.
  • If the bug only exists in Zig, something went wrong porting the code, and you can run the C code and Zig code side by side in a debugger to figure out what's happening differently.