[llvm-commits] [PATCH] Add options to AddressSanitizer passes to make them configurable by frontend.

Kostya Serebryany kcc at google.com
Wed Nov 28 22:32:40 PST 2012


  [Maybe Richard may comment here?]

  Refactoring asan pass into several passes to implement these separate flags is a bad choice
  since the additional passes depend on the main pass too much.


================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:139
@@ -138,1 +138,3 @@
 
+static cl::opt<bool> ClUseLifetime("asan-use-lifetime",
+       cl::desc("Use llvm.lifetime intrinsics to insert extra checks"),
----------------
Maybe CheckLifeTime? (here and below)


http://llvm-reviews.chandlerc.com/D145



More information about the llvm-commits mailing list