<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/100467>100467</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            fails to build with `error: use of undeclared identifier 'ptrauth_key_cxx_vtable_pointer'`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            compiler-rt:ubsan,
            build-problem
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sylvestre
      </td>
    </tr>
</table>

<pre>
    on linux ubuntu noble
```

FAILED: compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.aarch64.dir/ubsan_type_hash_itanium.cpp.o 
/build/source/build-llvm/./bin/clang++ --target=aarch64-unknown-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/source/compiler-rt/lib/ubsan/.. -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/source/build-llvm/runtimes/runtimes-bins=../../../ -fdebug-prefix-map=/build/source/= -no-canonical-prefixes -ffile-prefix-map=/build/source/build-llvm/runtimes/runtimes-bins=../../../ -ffile-prefix-map=/build/source/= -no-canonical-prefixes -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -frtti -DUBSAN_CAN_USE_CXXABI -MD -MT compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.aarch64.dir/ubsan_type_hash_itanium.cpp.o -MF compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.aarch64.dir/ubsan_type_hash_itanium.cpp.o.d -o compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.aarch64.dir/ubsan_type_hash_itanium.cpp.o -c /build/source/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cpp
/build/source/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cpp:210:34: error: use of undeclared identifier 'ptrauth_key_cxx_vtable_pointer'
  210 |   Vtable = ptrauth_strip(Vtable, ptrauth_key_cxx_vtable_pointer);
 |                                  ^
1 error generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8Vltv47gV_jX0C3EMWfIlefCDY8VFgE1S5NJsn4wj8khmhyJVXpx4f31BSd5JdtOZadFpENjmuV8_Er1XjSFas8UVW5QTjOFg3dqf9JF8cDSprDytreFamfjGYxVNiNzYShPLSpZt2DIb_4dj_7nb3PxyXbJiw4VtO6XJgQss32lVsXwXK4-G5bvtLX6hndLkWb57eHpO5L14e5siOnFYzqdSubP4Ppw62h_QH_YqoFGxnYqum1o-us13VVRasnznbXSCzgTQ-tiyfDdNBJW8Co2mYfkVy684QEDXUGBFOfqEaL4Y-2qgzxcaEzmU-_3jU7ndb-_vHp82d0_728324f7xK2N3_3C7-TP5l5vbm6_Um89i_FZ5plMOtbFgWxWgdtgSdFaZQI5De6ZrwvqPzNoHFF-gczaQCNaBD86a5neG0OgPZ7ayhsNLbV2LgcM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