With ThinLTO mutliple CUs can share the same .debug_str_offsets contribution. We
were creating a new one for each CU. This lead to a binary size increase.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| bolt/include/bolt/Core/DebugData.h | ||
|---|---|---|
| 448 | Use DenseSet<>. | |
| bolt/lib/Core/DebugData.cpp | ||
| 1095 | Is this an assert on internal condition or is it the input validation? | |
| 1110–1111 | When can this happen? | |
| bolt/test/X86/dwarf5-shared-str-offset-base.s | ||
| 13 | Perhaps include the source files since they appear to be short and how .s was generated. | |
| 14 | ||
| 292 | ||
Use DenseSet<>.