This is an archive of the discontinued LLVM Phabricator instance.

[lit][libcxx] Forward sanitizer environment
AbandonedPublic

Authored by ldionne on Apr 15 2022, 12:51 AM.

Details

Reviewers
curdeius
vitalybuka
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

vitalybuka created this revision.Apr 15 2022, 12:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2022, 12:51 AM
Herald added a subscriber: arichardson. · View Herald Transcript
vitalybuka requested review of this revision.Apr 15 2022, 12:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2022, 12:51 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

What do you want to achieve with this change?

What do you want to achieve with this change?

I want to be able to stuff like this:
MSAN_OPTIONS=poison_in_dtor=1 ninja check-libcxx

I want to be able to stuff like this:
MSAN_OPTIONS=poison_in_dtor=1 ninja check-libcxx

I think the better option would be to add another lit configuration. Passing behaviour changing environment variables through makes the builds less reproducible, and here it seems to be quite simple to add it as a few flags.

I want to be able to stuff like this:
MSAN_OPTIONS=poison_in_dtor=1 ninja check-libcxx

I think the better option would be to add another lit configuration. Passing behaviour changing environment variables through makes the builds less reproducible, and here it seems to be quite simple to add it as a few flags.

Not sure I understand what is the proposal. Can you please clarify?

vitalybuka planned changes to this revision.Apr 18 2022, 9:15 PM

MSAN_OPTIONS=poison_in_dtor=1 is default, so this patch is not needed

ldionne commandeered this revision.Sep 7 2023, 10:35 AM
ldionne edited reviewers, added: vitalybuka; removed: ldionne.

[Github PR transition cleanup]

Abandoning since the author says it's not needed.

ldionne abandoned this revision.Sep 7 2023, 10:35 AM