diff options
author | trevyn <230691+trevyn@users.noreply.github.com> | 2024-01-19 18:02:00 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 06:02:00 -0800 |
commit | d1a2f11febfcdb2cc56a8c29012f948727c152d0 (patch) | |
tree | a6c90ff719c30caebe2cc2e5d4f7cecb7bef5708 /.ci | |
parent | 9ff4be640fb1b3a64a8bc73020d67816f1c09ea0 (diff) | |
download | llvm-d1a2f11febfcdb2cc56a8c29012f948727c152d0.zip llvm-d1a2f11febfcdb2cc56a8c29012f948727c152d0.tar.gz llvm-d1a2f11febfcdb2cc56a8c29012f948727c152d0.tar.bz2 |
[builtins] Mark `int_lib.h` builtins as `static` (#69305)
Mark the following symbols as `static` to prevent duplicate definitions:
`__builtin_ctz`
`__builtin_clz`
`__builtin_clzll`
`__builtin_sadd_overflow`
>Without these then all of these functions show up in all object files
which include int_lib.h on Windows. This'll help prevent duplicate
symbols by ensuring they're not exported.
See:
https://github.com/rust-lang/compiler-builtins/issues/167
https://reviews.llvm.org/D34599
Diffstat (limited to '.ci')
0 files changed, 0 insertions, 0 deletions