Auto-Submit | +1 |
Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Move wtf/type_trails.h to "blink" namespace
This CL also introduces blink::GarbageCollectedTypeV<>,
blink::IsTraceableV<>, and blink::IsWeakV<> to simplify replacement
results.
This CL has no behavior changes.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This, or one of the earlier related CLs, seems to have broken the Mac precompiled header build, i.e. the mac build for everyone who is not a Googler. There are a whole slew of errors like this for each generated xpath file.
build step: cxx "./obj/third_party/blink/renderer/core/xml/xpath_generated/xpath_grammar_generated.o"
stderr:
In file included from ../../third_party/blink/renderer/core/xml/xpath_grammar_generated.cc:1:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/core/precompile_core.h:27:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/core/dom/document.h:61:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/bindings/core/v8/script_promise.h:36:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/bindings/core/v8/idl_types.h:14:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/heap_traits.h:10:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/collection_support/heap_vector.h:14:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/heap_allocator_impl.h:9:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h:20:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/trace_traits.h:14:
/Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/wtf/hash_table.h:642:1: error: [blink-gc] Class 'HashTable<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>, blink::KeyValuePair<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>, unsigned long>, blink::KeyValuePairExtractor, blink::HashMapValueTraits<blink::HashTraits<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>>, blink::HashTraits<unsigned long>>, blink::HashTraits<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>>, blink::HeapAllocator>' contains invalid fields.
642 | class HashTable final {
| ^
/Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/wtf/hash_table.h:904:3: note: [blink-gc] Raw pointer field 'table_' to a traceable class declared here:
904 | ValueType* table_;
| ^
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This, or one of the earlier related CLs, seems to have broken the Mac precompiled header build, i.e. the mac build for everyone who is not a Googler. There are a whole slew of errors like this for each generated xpath file.
build step: cxx "./obj/third_party/blink/renderer/core/xml/xpath_generated/xpath_grammar_generated.o"
stderr:
In file included from ../../third_party/blink/renderer/core/xml/xpath_grammar_generated.cc:1:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/core/precompile_core.h:27:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/core/dom/document.h:61:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/bindings/core/v8/script_promise.h:36:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/bindings/core/v8/idl_types.h:14:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/heap_traits.h:10:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/collection_support/heap_vector.h:14:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/heap_allocator_impl.h:9:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/collection_support/heap_hash_table_backing.h:20:
In file included from /Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/heap/trace_traits.h:14:
/Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/wtf/hash_table.h:642:1: error: [blink-gc] Class 'HashTable<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>, blink::KeyValuePair<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>, unsigned long>, blink::KeyValuePairExtractor, blink::HashMapValueTraits<blink::HashTraits<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>>, blink::HashTraits<unsigned long>>, blink::HashTraits<cppgc::internal::BasicMember<blink::TreeScope, cppgc::internal::WeakMemberTag, cppgc::internal::DijkstraWriteBarrierPolicy>>, blink::HeapAllocator>' contains invalid fields.
642 | class HashTable final {
| ^
/Users/schenney/development/chromium_1/src/out/ReleaseGN/../../third_party/blink/renderer/platform/wtf/hash_table.h:904:3: note: [blink-gc] Raw pointer field 'table_' to a traceable class declared here:
904 | ValueType* table_;
| ^
Sorry for the trouble and thank you for notifying me.
Would you file a bug and cc to me and omerkatz@ please?
Someone external reached out to me last week about this exact failure, but we didn't connect it to the precompiled headers. Without the headers I couldn't reproduce the issue. Maybe this is the hint we needed to get it to repro.
I'm assuming the underlying issue is that the precompiled headers are missing the `__clang__` define and so the plugin ignore annotations become nops.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |