[all-commits] [llvm/llvm-project] 6fab33: [mlir][LLVMDebugTranslation] Only insert the locat...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Apr 27 16:50:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fab33b20abf28d65b0000cfc3d1254c5e6e250b
      https://github.com/llvm/llvm-project/commit/6fab33b20abf28d65b0000cfc3d1254c5e6e250b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp

  Log Message:
  -----------
  [mlir][LLVMDebugTranslation] Only insert the location mapping after translation

This fixes an iteration invalidation bug when the map grows beyond capacity and the iterator for the location to translate becomes invalid.




More information about the All-commits mailing list