File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -598,8 +598,9 @@ class Module {
598
598
return event_tracer_.get ();
599
599
}
600
600
601
- ET_NODISCARD
602
- runtime::Span<uint8_t > debug_buffer () {
601
+ // Note: this debug_buffer will always be empty. The one being used is in
602
+ // the event_tracer attached to module. Please use that one.
603
+ ET_DEPRECATED ET_NODISCARD runtime::Span<uint8_t > debug_buffer () {
603
604
return runtime::Span<uint8_t >(debug_buffer_.data (), debug_buffer_.size ());
604
605
}
605
606
@@ -622,7 +623,7 @@ class Module {
622
623
std::unique_ptr<runtime::EventTracer> event_tracer_;
623
624
std::unique_ptr<runtime::DataLoader> data_map_loader_;
624
625
std::unique_ptr<NamedDataMap> data_map_;
625
- std::vector<uint8_t > debug_buffer_;
626
+ ET_DEPRECATED std::vector<uint8_t > debug_buffer_;
626
627
627
628
protected:
628
629
std::unordered_map<std::string, MethodHolder> methods_;
You can’t perform that action at this time.
0 commit comments