[all-commits] [llvm/llvm-project] ef6159: [llvm-jitlink] Don't show FailedToMaterialize erro...

lhames via All-commits all-commits at lists.llvm.org
Sun Apr 17 12:01:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef61592bb4792e89c22f49ee1d32a612b1b921f5
      https://github.com/llvm/llvm-project/commit/ef61592bb4792e89c22f49ee1d32a612b1b921f5
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Don't show FailedToMaterialize errors by default.

This patch makes printing of FailedToMaterialize errors in llvm-jitlink
conditional on the -show-err-failed-to-materialize option, which defaults to
false.

FailedToMaterialize errors are not root-cause errors: they're generated when a
symbol is requested but cannot be provided because of a failure that was
reported on some other error path. They typically don't convey actionable
information, and tend to flood error logs making root cause errors harder to
spot. Hiding FailedToMaterialize errors by default addresses these issues.


  Commit: 412c6d159173f03b8bfcdf8ab3581654a8568b82
      https://github.com/llvm/llvm-project/commit/412c6d159173f03b8bfcdf8ab3581654a8568b82
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Add paths to file-not-found errors.


  Commit: 45e390cfee76560c7d449b198e17e8a6d16447d7
      https://github.com/llvm/llvm-project/commit/45e390cfee76560c7d449b198e17e8a6d16447d7
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-04-17 (Sun, 17 Apr 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp

  Log Message:
  -----------
  [ORC] Report paths in errors when creating StaticLibrarySearchGenerators.


Compare: https://github.com/llvm/llvm-project/compare/d98481a1e782...45e390cfee76


More information about the All-commits mailing list