[clang] [llvm] [Clang][RISCV] generate Labels for the zicfilp func-sig label scheme (PR #240346)

Benedikt Steinberg via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 00:41:40 PST 2026


Keksesser3000 wrote:

current test coverage:

- unit tests for RISCVZicfilpHash.h (20-bit selection fallback logic)
- unit tests for RISCVLpadLabelGen.h (signature normalization including special and currently unhandled cases; end-to-end signature building; missing language linkage marker from Itanium mangler)
- preprocessor macro and GNU property bit for the func-sig label scheme
- label creation for block calls, member pointers, virtual calls, indirect calls, calls to external functions, virtual destructors.
- special case label checks for `main`
- unsupported template args
- no bypass via `cfi_unchecked_callee`

https://github.com/llvm/llvm-project/pull/240346


More information about the cfe-commits mailing list