[PATCH] D129385: [lsan][Darwin] Scan libdispatch and Foundation memory regions
Julian Lettner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 10:53:59 PDT 2022
yln added inline comments.
================
Comment at: compiler-rt/lib/lsan/lsan_common_mac.cpp:36
+struct RegionScanState {
+ int seen_regions = static_cast<int>(SeenRegion::None);
+ bool in_libdispatch = false;
----------------
Would making this a `SeenRegion` field get rid of the casts?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129385/new/
https://reviews.llvm.org/D129385
More information about the llvm-commits
mailing list