aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-11-30 16:11:20 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-12-02 11:11:31 -0800
commit0d588347000bd8245b8a1824758c6ed005ae5bce (patch)
treea2e04d6bc0fed01a034bfe6f3f8f5293fa2cc107 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent2af2e4dbb790daafd3cbbf6189a7a27145cf4c12 (diff)
downloadllvm-0d588347000bd8245b8a1824758c6ed005ae5bce.zip
llvm-0d588347000bd8245b8a1824758c6ed005ae5bce.tar.gz
llvm-0d588347000bd8245b8a1824758c6ed005ae5bce.tar.bz2
[flang] Check discrepancies between local & available global subprograms
When a scope declares the name and perhaps some characteristics of an external subprogram using any of the many means that Fortran supplies for doing such a thing, and that external subprogram's definition is available, check the local declaration against the external definition. In particular, if the global definition's interface cannot be called by means of an implicit interface, ensure that references are via an explicit and compatible interface. Further, extend call site checking so that when a local declaration exists for a known global symbol and the arguments are valid for that local declaration, the arguments are checked against the global's interface, just are is already done when no local declaration exists. Differential Revision: https://reviews.llvm.org/D139042
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions