[PATCH] Add experimental clang/driver flag -fsanitize-address-field-padding=N

Alexey Samsonov vonosmas at gmail.com
Wed Oct 8 17:39:39 PDT 2014


LGTM.
Please commit this together with http://reviews.llvm.org/D5687, so that we don't have unused flags lying around.

================
Comment at: lib/Driver/SanitizerArgs.cpp:29
@@ -28,2 +28,3 @@
   AsanZeroBaseShadow = false;
+  AsanFieldPadding = 0;
   UbsanTrapOnError = false;
----------------
Put this one line above, to respect the order of declaration.

http://reviews.llvm.org/D5676






More information about the cfe-commits mailing list