Skip to content

Commit 4c53f93

Browse files
davispKiterLuc
andauthored
Instrument the Tile class (#4705)
Instrument the Tile class with the pmr tracking code. --- TYPE: NO_HISTORY DESC: Instrument the Tile class --------- Co-authored-by: Luc Rancourt <[email protected]>
1 parent f31fa3b commit 4c53f93

File tree

67 files changed

+1466
-543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1466
-543
lines changed

scripts/find_heap_api_violations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@
101101

102102
# Contains per-file exceptions to violations of "make_unique".
103103
unique_ptr_exceptions = {
104-
"*": ["tdb_unique_ptr", "tiledb_unique_ptr"],
104+
"*": ["tdb_unique_ptr", "tiledb_unique_ptr", "tdb::pmr::unique_ptr"],
105105
"zstd_compressor.h": ["std::unique_ptr<ZSTD_DCtx, decltype(&ZSTD_freeDCtx)> ctx_;", "std::unique_ptr<ZSTD_CCtx, decltype(&ZSTD_freeCCtx)> ctx_;"],
106106
"posix.cc": ["static std::unique_ptr<char, decltype(&free)> cwd_(getcwd(nullptr, 0), free);"],
107107
"curl.h": ["std::unique_ptr<CURL, decltype(&curl_easy_cleanup)>"],
108-
"tile.h": ["std::unique_ptr<char, void (*)(void*)> data_;"],
108+
"pmr.h": ["std::unique_ptr", "unique_ptr<Tp> make_unique("],
109109
}
110110

111111

0 commit comments

Comments
 (0)