Skip to content

Commit

Permalink
patch broken dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jayakasadev committed Feb 22, 2025
1 parent 0aabebf commit 7dd049e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tcmalloc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ create_tcmalloc_libraries(
"//tcmalloc/selsan",
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/base",
"@com_google_absl//absl/base:malloc_internal",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/base:dynamic_annotations",
"@com_google_absl//absl/base:nullability",
Expand Down
1 change: 1 addition & 0 deletions tcmalloc/deallocation_profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ void DeallocationProfiler::DeallocationStackTraceTable::Iterate(
DeallocationSample::DeallocationSample(DeallocationProfilerList* list) {
profiler_ = std::make_unique<DeallocationProfiler>(list);
}
DeallocationSample::~DeallocationSample() = default;

tcmalloc::Profile DeallocationSample::Stop() && {
if (profiler_ != nullptr) {
Expand Down
2 changes: 1 addition & 1 deletion tcmalloc/deallocation_profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class DeallocationSample final
public:
explicit DeallocationSample(DeallocationProfilerList* list);
// We define the dtor to ensure it is placed in the desired text section.
~DeallocationSample() override = default;
~DeallocationSample();

tcmalloc::Profile Stop() && override;

Expand Down

0 comments on commit 7dd049e

Please sign in to comment.