aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGiorgis Georgakoudis <georgakoudis1@llnl.gov>2020-07-07 22:43:24 -0700
committerGiorgis Georgakoudis <georgakoudis1@llnl.gov>2020-07-09 13:13:46 -0700
commit205dc0922d5f7305226f7457fcbcb4224c92530c (patch)
tree7404d8ab0bf82277fcbce72aa50048419c6e006e /clang/lib/Frontend/CompilerInvocation.cpp
parent03640ee0fa73c6eaf8cb12050203027239136789 (diff)
downloadllvm-205dc0922d5f7305226f7457fcbcb4224c92530c.zip
llvm-205dc0922d5f7305226f7457fcbcb4224c92530c.tar.gz
llvm-205dc0922d5f7305226f7457fcbcb4224c92530c.tar.bz2
[CallGraph] Ignore callback uses
Summary: Ignore callback uses when adding a callback function in the CallGraph. Callback functions are typically created when outlining, e.g. for OpenMP, so they have internal scope and linkage. They should not be added to the ExternalCallingNode since they are only callable by the specified caller function at creation time. A CGSCC pass, such as OpenMPOpt, may need to update the CallGraph by adding a new outlined callback function. Without ignoring callback uses, adding breaks CGSCC pass restrictions and results to a broken CallGraph. Reviewers: jdoerfert Subscribers: hiraditya, sstefan1, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83370
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions