[all-commits] [llvm/llvm-project] 30d314: [MC][WebAssembly] Avoid recalculating indexes in -...

Sam Clegg via All-commits all-commits at lists.llvm.org
Wed Jan 6 01:39:17 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 30d314aae10eee1e66aff6515a764ee696a03e8d
      https://github.com/llvm/llvm-project/commit/30d314aae10eee1e66aff6515a764ee696a03e8d
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M llvm/lib/MC/WasmObjectWriter.cpp

  Log Message:
  -----------
  [MC][WebAssembly] Avoid recalculating indexes in -gsplit-dwarf mode

Be consistent about asserting before setting WasmIndices.  Adding
these assertions revealed that we were duplicating a lot of work
and setting these indexed twice when running in DWO mode.

Differential Revision: https://reviews.llvm.org/D93650




More information about the All-commits mailing list