[PATCH] D112732: [ASan] Process functions in Asan module pass

Jordan Rupprecht via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 3 11:02:29 PDT 2021


rupprecht added inline comments.


================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1189
+        MPM.addPass(ModuleAddressSanitizerPass(
+            CompileKernel, Recover, ModuleUseAfterScope, UseOdrIndicator,
+            DestructorKind, UseAfterScope, UseAfterReturn));
----------------
I'm seeing build errors here, and I'm not sure what this is supposed to be?

```
/home/rupprecht/src/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1189:37: error: use of undeclared identifier 'ModuleUseAfterScope'; did you mean 'UseAfterScope'?
            CompileKernel, Recover, ModuleUseAfterScope, UseOdrIndicator,
                                    ^~~~~~~~~~~~~~~~~~~
                                    UseAfterScope
```

https://buildkite.com/llvm-project/upstream-bazel-rbe/builds/11193#bbebbf99-a2c1-4959-b6f7-f7fb816591c0


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112732



More information about the cfe-commits mailing list