llvm-project/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip
David Blaikie 389f67b35b 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))
2022-02-10 15:51:47 -08:00
..
lit.local.cfg Migrate the roundtrip tests to work similar to the llgdb tests 2021-10-28 18:38:05 -07:00
simplified_template_names.cpp DebugInfo: Don't simplify names referencing local enums 2022-02-10 15:51:47 -08:00
simplified_template_names_noncanonical_type_units.cpp DebugInfo: Don't simplify any template referencing a lambda 2022-02-10 14:56:54 -08:00