[flang] [clang] [mlir] [llvm] [libcxx] [compiler-rt] [libc] [lldb] [openmp] [hwasan] Classify stack overflow, and use after scope (PR #76133)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 21 16:12:31 PST 2023


================
@@ -221,29 +221,55 @@ static void PrintStackAllocations(const StackAllocationsRingBuffer *sa,
       for (LocalInfo &local : frame.locals) {
         if (!local.has_frame_offset || !local.has_size || !local.has_tag_offset)
           continue;
+        if (!(local.name && internal_strlen(local.name)) &&
+            !(local.function_name && internal_strlen(local.name)) &&
+            !local.decl_file)
----------------
vitalybuka wrote:

will check

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


More information about the cfe-commits mailing list