This is an archive of the discontinued LLVM Phabricator instance.

Fix dwarf5-lazy-dwo.c for the default c target not being c99.
ClosedPublic

Authored by hctim on Dec 6 2022, 2:15 PM.

Details

Summary

My host compiler is clang version 15.0.0, which uses -std=c11 by
default. The test asserts that the language is 'c99', and so the test
fails locally.

Update the test to be explicit about compiling with 'c99'.

Diff Detail

Event Timeline

hctim created this revision.Dec 6 2022, 2:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 2:15 PM
hctim requested review of this revision.Dec 6 2022, 2:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 2:15 PM
Eric accepted this revision.Dec 7 2022, 4:23 AM

LGTM. It would also be fine to not check the language.

This revision is now accepted and ready to land.Dec 7 2022, 4:23 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 9:08 AM
This revision was automatically updated to reflect the committed changes.