Issue 160101
Summary (As an illustration for the "cover letter" of this review) I assume many such macroses define purely internal signing schemas. In such cases it should be possible to compute the discriminator automatically - it could probably improve readability to use something like
Labels new issue
Assignees
Reporter kovdan01
    (As an illustration for the "cover letter" of this review) I assume many such macroses define purely internal signing schemas. In such cases it should be possible to compute the discriminator automatically - it could probably improve readability to use something like

```cpp
    PTRAUTH_INTPTR(uintptr_t, start) = readEncodedPointer(&p, callSiteEncoding);
```

instead of 

```cpp
    uintptr_t __ptrauth_gcc_personality_start start =
 readEncodedPointer(&p, callSiteEncoding);
```

_Originally posted by @atrosinenko in https://github.com/llvm/llvm-project/pull/143230#discussion_r2365576851_
 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to