Displaying 2 results from an estimated 2 matches for "can_sanitize_leaks".
2014 Dec 05
3
[LLVMdev] [RFC] Parsing runtime flags in sanitizers (ASan/LSan/UBSan)
...zer_common assuming certain values of
common runtime flags, but then these flags are overwritten by LSAN_OPTIONS.
All this is very complicated and fragile.
I propose to implement the following:
*ASan flag parsing*:
1) Detect all sanitizers ASan is combined with (We know that we have LSan
if "CAN_SANITIZE_LEAKS" is true. We can detect if we have UBSan in the
process somehow.)
2) Setup defaults for ASan-specific flags and override them from
ASAN_OPTIONS.
3) Setup defaults for common flags and override them from *all of
*ASAN_OPTIONS,
LSAN_OPTIONS and UBSAN_OPTIONS (if corresponding sanitizers are enab...
2014 Dec 08
2
[LLVMdev] [RFC] Parsing runtime flags in sanitizers (ASan/LSan/UBSan)
...ese flags are overwritten by LSAN_OPTIONS. All
> > this is very complicated and fragile.
> >
> > I propose to implement the following:
> >
> > ASan flag parsing:
> > 1) Detect all sanitizers ASan is combined with (We know that we have
> LSan if
> > "CAN_SANITIZE_LEAKS" is true. We can detect if we have UBSan in the
> process
> > somehow.)
> > 2) Setup defaults for ASan-specific flags and override them from
> > ASAN_OPTIONS.
> > 3) Setup defaults for common flags and override them from all of
> > ASAN_OPTIONS, LSAN_OPTIONS an...