[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 16:40:09 PST 2023


================
@@ -297,7 +297,7 @@ void DwarfStreamer::emitDebugNames(DWARF5AccelTable &Table) {
 
   // Build up data structures needed to emit this section.
   std::vector<std::variant<MCSymbol *, uint64_t>> CompUnits;
-  DenseMap<unsigned, size_t> UniqueIdToCuMap;
+  DenseMap<unsigned, unsigned> UniqueIdToCuMap;
----------------
ayermolo wrote:

This was to fix a Windows build bot. From what I remember it was complaining about lose of preciscsion or something like that? Been couple of weeks. :)

Also size_t didn't really make sense anyway since Id, below, is unsigned.

https://github.com/llvm/llvm-project/pull/70515


More information about the llvm-commits mailing list