[cfe-commits] [PATCH] ASan: support for zero-based shadow for PIE binaries (Clang part).

Kostya Serebryany kcc at google.com
Wed Jan 16 23:01:27 PST 2013


  I would actually prefer a flag that says what we are doing, not what we are depending on.
  E.g. -faddress-sanitizer-zero-base (or zero-shadow-base)

  Another reason: -pie only helps on linux.
  On other platforms (e.g. Mac) other tricks will be required to enable zero-base.

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



More information about the cfe-commits mailing list