about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
AgeCommit message (Collapse)AuthorLines
2020-06-09Implement new gdb/lldb pretty-printersortem-1/+2
Replace old GDB and LLDB pretty-printers with new ones which were originally written for IntelliJ Rust. New LLDB pretty-printers support synthetic children. New GDB/LLDB pretty-printers support all Rust types supported by old pretty-printers, and also support: Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.
2020-04-14Update the minimum external LLVM to 8Josh Stone-2/+1
LLVM 8 was released on March 20, 2019, over a year ago.
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-2/+0
2019-03-27Give variant parts their own unique idPhilip Craig-1/+1
and bump llvm version in test
2019-03-23Fix invalid DWARF for enums when using thinltoPhilip Craig-0/+48
We were setting the same identifier for both the DW_TAG_structure_type and the DW_TAG_variant_part. This becomes a problem when using thinlto becauses it uses the identifier as a key for a map of types that is used to delete duplicates based on the ODR, so one of them is deleted as a duplicate, resulting in invalid DWARF. The DW_TAG_variant_part isn't a standalone type, so it doesn't need an identifier. Fix by omitting its identifier.