[compiler-rt] [compiler-rt] fix BSD procmaps stack size limit on build due to the k… (PR #82887)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 17:02:08 PST 2024


================
@@ -30,17 +30,17 @@ namespace __sanitizer {
 
 #if SANITIZER_FREEBSD
 void GetMemoryProfile(fill_profile_f cb, uptr *stats) {
----------------
vitalybuka wrote:

would it be possible fixup title to avoid line break?

How bit this struct? Or what is error message?

I would prefer RAII with InternalScopedVector<kinfo_proc> of size 1


https://github.com/llvm/llvm-project/pull/82887


More information about the llvm-commits mailing list