diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-04-16 00:44:50 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-05-06 02:10:36 -0500 |
commit | 3f14596700093bce436ae27178c307e842398b65 (patch) | |
tree | d22c59823e84b6b6ee5734a1a4eada33b9c5a6fa /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 5d8d994dfbe38fe86b1d883daa9fd8e47cdc1376 (diff) | |
download | llvm-3f14596700093bce436ae27178c307e842398b65.zip llvm-3f14596700093bce436ae27178c307e842398b65.tar.gz llvm-3f14596700093bce436ae27178c307e842398b65.tar.bz2 |
[OpenMP] Ensure the DefaultMapperId has a location
A user reported an assertion (below) but without a reproducer. I failed to
create a test myself but from the assertion one can derive the problem.
I set the DefaultMapperId location now to make sure this doesn't cause
trouble.
```
clang-13: .../DeclTemplate.h:1940:
void clang::ClassTemplateSpecializationDecl::setPointOfInstantiation(clang::SourceLocation):
Assertion `Loc.isValid() && "point of instantiation must be valid!"' failed.
```
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D100621
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions