[PATCH] D108029: [clang][Codegen] Introduce the no_sanitizer_instrumentation attribute

Dmitry Vyukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 13 06:55:27 PDT 2021


dvyukov accepted this revision.
dvyukov added inline comments.


================
Comment at: clang/lib/CodeGen/CodeGenFunction.cpp:524
+bool CodeGenFunction::ShouldSkipSanitizerInstrumentation() {
+  if (!CurFuncDecl)
+    return false;
----------------
When is CurFuncDecl nullptr? Maybe we should look at definition in this case?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108029



More information about the cfe-commits mailing list