llvm-project/cross-project-tests
David Blaikie a5032b2633 DebugInfo: Don't allow type units to references types in the CU
We could only do this in limited ways (since we emit the TUs first, we
can't use ref_addr (& we can't use that in Split DWARF either) - so we
had to synthesize declarations into the TUs) and they were ambiguous in
some cases (if the CU type had internal linkage, parsing the TU would
require knowing which CU was referencing the TU to know which type the
declaration was for, which seems not-ideal). So to avoid all that, let's
just not reference types defined in the CU from TUs - instead moving the
TU type into the CU (recursively).

This does increase debug info size (by pulling more things out of type
units, into the compile unit) - about 2% of uncompressed dwp file size
for clang -O0 -g -gsplit-dwarf. (5% .debug_info.dwo section size
increase in the .dwp)
2022-03-25 23:49:03 +00:00
..
debuginfo-tests DebugInfo: Don't allow type units to references types in the CU 2022-03-25 23:49:03 +00:00
intrinsic-header-tests [WebAssembly] Add end-to-end codegen tests for wasm_simd128.h 2022-03-17 15:22:17 -07:00
CMakeLists.txt [WebAssembly] Add end-to-end codegen tests for wasm_simd128.h 2022-03-17 15:22:17 -07:00
lit.cfg.py [WebAssembly] Add end-to-end codegen tests for wasm_simd128.h 2022-03-17 15:22:17 -07:00
lit.site.cfg.py.in Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00