[llvm-branch-commits] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)
Nikolas Klauser via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 10 08:13:37 PDT 2025
================
@@ -256,9 +256,12 @@ void unique_ptr_test() {
ComparePrettyPrintToRegex(std::move(forty_two),
R"(std::unique_ptr<int> containing = {__ptr_ = 0x[a-f0-9]+})");
+#if !defined(__POINTER_FIELD_PROTECTION__)
+ // GDB doesn't know how to read PFP fields correctly yet.
----------------
philnik777 wrote:
Does GCC have pfp in general? If not, IMO we should just disable the pretty printer test with pfp enabled.
https://github.com/llvm/llvm-project/pull/151651
More information about the llvm-branch-commits
mailing list