diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-01 17:07:10 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-04-07 23:33:24 -0500 |
commit | 8f0aa3f3a407994314371ee042854a8c79cea462 (patch) | |
tree | e7ee62903c76139c1bc461b2bb0f131449315632 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 3cb1f35df2a560d5a8ce2047b87cba8e3c904170 (diff) | |
download | llvm-8f0aa3f3a407994314371ee042854a8c79cea462.zip llvm-8f0aa3f3a407994314371ee042854a8c79cea462.tar.gz llvm-8f0aa3f3a407994314371ee042854a8c79cea462.tar.bz2 |
[OpenMP] Try to find an existing base for `omp begin/end declare variant`
If we have a function definition in `omp begin/end declare variant` it
is a specialization of a base function with the same name and
"compatible" type. Before, we just created a declaration for the base.
With this patch we try to find an existing declaration first and only
create a new one if we did not find any with a compatible type. This is
preferable as we can tolerate slight mismatches, especially if the
specialized version is "more constrained", e.g., constexpr.
Reviewed By: mikerice
Differential Revision: https://reviews.llvm.org/D77252
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions