aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2022-02-10 15:48:48 -0800
committerDavid Blaikie <dblaikie@gmail.com>2022-02-10 15:51:47 -0800
commit389f67b35b0e99892a8f6c94787b054f26c8d4e2 (patch)
tree09bf82eff8a376450342c1c144f6a8b426b3d3df /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent01b56b8bddaee03ab5261e6bd67b9511dce00cd6 (diff)
downloadllvm-389f67b35b0e99892a8f6c94787b054f26c8d4e2.zip
llvm-389f67b35b0e99892a8f6c94787b054f26c8d4e2.tar.gz
llvm-389f67b35b0e99892a8f6c94787b054f26c8d4e2.tar.bz2
DebugInfo: Don't simplify names referencing local enums
Due to the way type units work, this would lead to a declaration in a type unit of a local type in a CU - which is ambiguous. Rather than trying to resolve that relative to the CU that references the type unit, let's just not try to simplify these names. Longer term this should be fixed by not putting the template instantiation in a type unit to begin with - since it references an internal linkage type, it can't legitimately be duplicated/in more than one translation unit, so skip the type unit overhead. (but the right fix for that is to move type unit management into a DICompositeType flag (dropping the "identifier" field is not a perfect solution since it breaks LLVM IR linking decl/def merging during IR linking))
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions