================ @@ -26,6 +26,12 @@ # include <locale> #endif +#if defined(__POINTER_FIELD_PROTECTION__) +constexpr bool pfp_disabled = false; +#else +constexpr bool pfp_disabled = true; +#endif ---------------- pcc wrote:
That's fine with me I suppose. The correct result for `__libcpp_is_trivially_relocatable` is implicitly tested by the other tests (which would crash if it was wrong). https://github.com/llvm/llvm-project/pull/151651 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
