1In file included from stack_allocated.cpp:5: 2./stack_allocated.h:14:1: warning: [blink-gc] Class 'PartObject' requires a trace method. 3class PartObject { 4^ 5./stack_allocated.h:17:5: note: [blink-gc] Untraced field 'm_obj' declared here: 6 Member<HeapObject> m_obj; // Needs tracing. 7 ^ 8./stack_allocated.h:24:5: warning: [blink-gc] The stack allocated class 'StackObject' provides an unnecessary trace method: 9 void Trace(Visitor* visitor) { visitor->Trace(m_obj); } 10 ^ 11./stack_allocated.h:30:1: warning: [blink-gc] Class 'HeapObject' contains invalid fields. 12class HeapObject : public GarbageCollected<HeapObject> { 13^ 14./stack_allocated.h:34:5: note: [blink-gc] Stack-allocated field 'm_part' declared here: 15 StackObject m_part; // Cannot embed a stack allocated object. 16 ^ 17./stack_allocated.h:38:27: warning: [blink-gc] Stack-allocated class 'DerivedHeapObject' derives class 'HeapObject' which is garbage collected. 18class DerivedHeapObject : public HeapObject, public StackObject { 19 ^ 20./stack_allocated.h:42:28: warning: [blink-gc] Stack-allocated class 'DerivedHeapObject2' derives class 'HeapObject' which is garbage collected. 21class DerivedHeapObject2 : public HeapObject { 22 ^ 23./stack_allocated.h:43:3: warning: [blink-gc] Garbage collected class 'DerivedHeapObject2' is not permitted to override its new operator. 24 STACK_ALLOCATED(); 25 ^ 26./heap/stubs.h:182:5: note: expanded from macro 'STACK_ALLOCATED' 27 __attribute__((annotate("blink_stack_allocated"))) \ 28 ^ 29stack_allocated.cpp:12:1: warning: [blink-gc] Class 'AnonStackObject' contains invalid fields. 30class AnonStackObject : public StackObject { 31^ 32stack_allocated.cpp:14:5: note: [blink-gc] Raw pointer field 'm_obj' to a GC managed class declared here: 33 HeapObject* m_obj; 34 ^ 357 warnings generated. 36