[all-commits] [llvm/llvm-project] 72af0b: Memory corruption issure for DenseStringElementsAttr

rsuderman via All-commits all-commits at lists.llvm.org
Sat Apr 25 01:26:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72af0bf1760919adb2b08b9eed0ca05e1e45a6d5
      https://github.com/llvm/llvm-project/commit/72af0bf1760919adb2b08b9eed0ca05e1e45a6d5
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M mlir/lib/IR/AttributeDetail.h

  Log Message:
  -----------
  Memory corruption issure for DenseStringElementsAttr

Summary: There was a memory corruption issue where the lifespan of the ArrayRef<StringRef> would fail. Directly passing the data will avoid the issue.

Reviewers: rriddle

Reviewed By: rriddle

Subscribers: mehdi_amini, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list