User Details
- User Since
- Jan 9 2018, 8:54 AM (297 w, 5 d)
Aug 11 2020
Aug 10 2020
The 08/10/2020 10:03, Momchil Velikov via Phabricator wrote:
chill added a comment.
In D80791#2196598 https://reviews.llvm.org/D80791#2196598, @nsz wrote:
the assumption is that the intended branch protection is implied via cmdline flags for the tu and function attributes are only used in source code for some hack.
I don't share this assumption. I find it just as valid to control the PAC/BTI with things like:
#ifdef ENABLE_BTI #define BTI_FUNC __attribute__((target("branch-protection=bti"))) #else #define BTI_FUNC BTI_FUNC void foo() { ... BTI_FUNC int bar() { ...without using any command-line option other than -DENABLE_BTI=1.
Aug 5 2020
the gcc behaviour is not exactly ideal, but it's better if llvm is compatible with it or fix gcc if something is broken there.
Jan 24 2020
Jul 24 2019
Jul 17 2019
May 15 2019
May 13 2019
i think this should be fixed in the tools/runtimes that assume fixed tls offset abi that conflict with the elf tls abi.
i think glibc is right (comes up with a tlsoffset%p_align == p_vaddr%p_align for the module) and musl and other implementations are wrong (they may not get the tlsoffset right in this case: it seems musl always computes tlsoffset%p_align==0 on tls variant 1 targets).
Jan 26 2018
Jan 12 2018
Jan 11 2018
also note that there is less than 3 weeks until glibc-2.27 is released, if the headers need a fix for clang then say so quickly
if clang wants to provide _Float128 then the f128 constant suffix (specified by TS18661-3) and builtin_inff128, builtin_nanf128, builtin_nansf128, builtin_huge_valf128 (gcc builtins required by math.h) need to be supported too.