[llvm-branch-commits] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 10 11:32:42 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.
----------------
pcc wrote:
The support for this feature in GCC is independent of support in GDB. We could imagine debug info extensions being developed in the future to make it possible for this to pass in GDB even without GCC support.
That being said, disabling the test is also fine with me.
https://github.com/llvm/llvm-project/pull/151651
More information about the llvm-branch-commits
mailing list