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 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
