This is an archive of the discontinued LLVM Phabricator instance.

[Driver][Darwin] Emit an error when using -pg on OS without support for it.
ClosedPublic

Authored by vsapsai on Feb 8 2019, 5:56 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

vsapsai created this revision.Feb 8 2019, 5:56 PM
steven_wu accepted this revision.Feb 11 2019, 11:02 AM

LGTM with a suggestion to make code cleaner.

clang/include/clang/Basic/DiagnosticDriverKinds.td
101 ↗(On Diff #186089)

Might be cleaner if you use %select here.

This revision is now accepted and ready to land.Feb 11 2019, 11:02 AM
vsapsai updated this revision to Diff 186522.Feb 12 2019, 11:22 AM
  • Use %select per Steven's recommendation.
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2019, 3:54 PM