[PATCH] D136078: Use-after-return sanitizer binary metadata

Marco Elver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 08:12:02 PST 2022


melver accepted this revision.
melver added inline comments.


================
Comment at: llvm/test/Instrumentation/SanitizerBinaryMetadata/uar.cpp:19
+void non_empty_function() {
+  // Completely empty functions don't get uar metadata.
+  volatile int x;
----------------
dvyukov wrote:
> melver wrote:
> > Is this comment out of place?
> If a function is completely empty, it won't be marked with UAR feature metadata.
> This is super-primitive approximation of the actual analysis we should do (the function has addr-taken/escaped locals/arguments).
> So I needed at least somebody for the function.
Ack


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136078/new/

https://reviews.llvm.org/D136078



More information about the cfe-commits mailing list