[PATCH] [RFC] Introduce support for multiple sanitizer blacklists (Clang side).

Alexey Samsonov vonosmas at gmail.com
Thu Jul 17 18:36:48 PDT 2014


================
Comment at: lib/CodeGen/BackendUtil.cpp:592
@@ -589,1 +591,3 @@
 
+std::unique_ptr<SpecialCaseList> clang::CreateSpecialCaseList(const CodeGenOptions &CGOpts) {
+  auto SCL = llvm::make_unique<SpecialCaseList>();
----------------
Peter Collingbourne wrote:
> Alexey Samsonov wrote:
> > See my comment in LLVM part - this file doesn't look like the right place for this function.
> I was imagining that we could add things like support for ad hoc entries here if we needed it.
Can you provide an example for "ad hoc" entries which can't be explained by special case list format? It's somewhat unfortunate that you need to modify special case list twice - in Clang CodeGen and before passing it to the backend.

http://reviews.llvm.org/D4547






More information about the cfe-commits mailing list