[all-commits] [llvm/llvm-project] b07292: [ELF] Serialize deleteFallThruJmpInsn to fix concu...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 26 23:26:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b07292f77a1e82c27fd98105d69f351ef41ac29f
      https://github.com/llvm/llvm-project/commit/b07292f77a1e82c27fd98105d69f351ef41ac29f
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-26 (Sun, 26 Dec 2021)

  Changed paths:
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Serialize deleteFallThruJmpInsn to fix concurrency issue

New deleteFallThruJmpInsn calls `make<JumpInstrMod>` which cannot be called
concurrently. Losing parallelism is unfortunate but we can think of a better
approach if parallelism here justifies itself.




More information about the All-commits mailing list