This is an archive of the discontinued LLVM Phabricator instance.

sanitizers: build tests with -g
ClosedPublic

Authored by dvyukov on Jul 30 2021, 7:58 AM.

Details

Summary

We currently build tests without -g, which is quite inconvenient.
Crash stacks don't have line numbers, gdb don't how line numbers either.
Always build tests with -g.

Diff Detail

Event Timeline

dvyukov created this revision.Jul 30 2021, 7:58 AM
dvyukov requested review of this revision.Jul 30 2021, 7:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 30 2021, 7:58 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Jul 30 2021, 11:24 AM
This revision is now accepted and ready to land.Jul 30 2021, 11:24 AM
This revision was automatically updated to reflect the committed changes.