This is an archive of the discontinued LLVM Phabricator instance.

WIP
Needs ReviewPublic

Authored by nickdesaulniers on Mar 13 2023, 3:22 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Rather than have a "srcloc" associated with each call of dontcall-warn
or dontcall-error attributed function, we could reuse the existing
DILocation metadata (if it's emitted).

TODO: child commit that converts to emitting such DILocations.
TODO: remove mention of srcloc from langref.
TODO: update tests.
TODO: make clang stop emitting srcloc.

Alternative to
https://reviews.llvm.org/D141451

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2023, 3:22 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
nickdesaulniers requested review of this revision.Mar 13 2023, 3:22 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 13 2023, 3:22 PM
nickdesaulniers edited the summary of this revision. (Show Details)
  • add link