[PATCH] D62559: [WebAssembly] Support VPtr sanitizer for Emscripten
Heejin Ahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 28 18:05:15 PDT 2019
aheejin added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/WebAssembly.cpp:214
+ if (getTriple().isOSEmscripten()) {
+ Res |= SanitizerKind::Vptr;
+ }
----------------
quantum wrote:
> aheejin wrote:
> > Does this mean we only support `Vptr` among sanitizers [[ https://github.com/llvm/llvm-project/blob/92d706eaca6cc79501066eae4392b600008e52c1/clang/include/clang/Basic/Sanitizers.def#L76-L103 | here ]]?
> No, by default all of UBSan except `Vptr` and `Function` are declared as supported. This adds Vptr to the list as it's supported on Emscripten.
I see. By the way where do we say we support the undefined sanitizer group?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62559/new/
https://reviews.llvm.org/D62559
More information about the cfe-commits
mailing list