search for: cgcoroutin

Displaying 2 results from an estimated 2 matches for "cgcoroutin".

Did you mean: cgcoroutine
2018 Mar 19
2
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...e generated with UBSan's '-fsanitize=null'? * Are there other LLVM passes I could look at, to see examples of how they were modified to handle UBSan? * I've seen code in Clang's codebase that adds 'SanitizerKind::Null' to a set of skipped UBSan checks; should lib/CodeGen/CGCoroutine.cpp also do something like this, to avoid generating UBSan checks altogether? Would that be sufficient to avoid the error? Are there downsides to doing this? Any and all advice is appreciated -- thanks! - Brian Gesiak -------------- next part -------------- An HTML attachment was scrubbed... URL...
2018 Mar 19
0
Suggestions for how coroutines and UBSan codegen can play nice with one another?
...could look at, to see examples of how they were modified to handle UBSan? No, no other llvm passes needed to be modified to handle ubsan instrumentation. > * I've seen code in Clang's codebase that adds 'SanitizerKind::Null' to a set of skipped UBSan checks; should lib/CodeGen/CGCoroutine.cpp also do something like this, to avoid generating UBSan checks altogether? Would that be sufficient to avoid the error? I don't think it would be sufficient. You might encounter the same issue with -fsanitize=alignment,object-size,vptr and possibly -fsanitize=address. Instead of blacklisti...