[PATCH] D26454: Implement no_sanitize_address for global vars

2016-11-30 Thread Douglas Katzman via Phabricator via cfe-commits
dougk added a comment. Suppression of sanitizing is necessary if the variable is magically a memory-mapped device I/O address. The linker can arrange for this to be the case using fancy scripts, or even just as simple as a section attribute that requires that you take up exactly a certain

[PATCH] D26454: Implement no_sanitize_address for global vars

2016-12-19 Thread Douglas Katzman via Phabricator via cfe-commits
dougk added a comment. I think it probably works to have the attribute appertain to any sanitizer. I did not know that it did, so I conservatively assumed that it didn't. I'll go ahead and make things consistent, and confirm that it dtrt. https://reviews.llvm.org/D26454