[all-commits] [llvm/llvm-project] 88ea86: [Attributor][FIX] Remove reference into map that m...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Mar 17 15:43:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88ea86c369f3faecfd20db27d5e7b3424051f976
      https://github.com/llvm/llvm-project/commit/88ea86c369f3faecfd20db27d5e7b3424051f976
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor][FIX] Remove reference into map that might dangle

The reference was taken and the map was modified after. This can (and
did) lead to dangling pointers and all sorts of problems afterwards.


  Commit: 59a6b668abeaba9e6ac83281a65765cb08e76b65
      https://github.com/llvm/llvm-project/commit/59a6b668abeaba9e6ac83281a65765cb08e76b65
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  -----------
  [OpenMP][FIX] Initialize member to avoid undefined value in debug output


  Commit: 4308fdf83b6cb0659a5dc4deb248d07892d269cd
      https://github.com/llvm/llvm-project/commit/4308fdf83b6cb0659a5dc4deb248d07892d269cd
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor] Remove more non-deterministic behavior and debug output


Compare: https://github.com/llvm/llvm-project/compare/f6b5142ac2e4...4308fdf83b6c


More information about the All-commits mailing list