Displaying 1 result from an estimated 1 matches for "sanitizer_interface_attribute".
2014 Dec 15
4
[LLVMdev] ubsan - active member check for unions
...ndefined
union-track-active-t1.cpp:10:7: note: active index set to 'd' here
Runtime functions I've added:
struct StringVec {
unsigned NumElts;
const char *Elts[];
};
struct UnionStaticData {
TypeDescriptor *Type;
StringVec* FieldNames;
};
extern "C" SANITIZER_INTERFACE_ATTRIBUTE
void __ubsan_union_set_active_field_index(uptr Addr, const
UnionStaticData *Data,
const SourceLocation *ActivationLoc,
unsigned ActiveFieldIndex);
extern "C" SANITIZER_INTERFACE_ATTRIBUTE
void __ubsan...