[compiler-rt] DO_NOT_MERGE (PR #66682)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 12:47:26 PDT 2023


================
@@ -404,12 +404,14 @@ class BaseReport {
         stack_allocations[stack_allocations_count++].CopyFrom(t);
       }
     });
+
+    FindBufferOverflowCandidate();
----------------
fmayer wrote:

I think this would be clearer if `FindBufferOverflowCandidate` returned the struct, and this would read `candidate = FindBufferOverflowCandidate()`.

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


More information about the llvm-commits mailing list