[all-commits] [llvm/llvm-project] 46196d: [ORC] Fix a warning about an unused variable on Wi...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 4 01:15:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46196db4d305267a5d53ee642debaf408b0821a9
      https://github.com/llvm/llvm-project/commit/46196db4d305267a5d53ee642debaf408b0821a9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp

  Log Message:
  -----------
  [ORC] Fix a warning about an unused variable on Windows. NFC.

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


  Commit: 46bc1b5689e417d870c57a8d16044a55549673fa
      https://github.com/llvm/llvm-project/commit/46bc1b5689e417d870c57a8d16044a55549673fa
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

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

  Log Message:
  -----------
  [ORC] Actually propagate memory unmapping errors on Windows

This fixes warnings like these:

    ../lib/ExecutionEngine/Orc/MemoryMapper.cpp:364:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
            joinErrors(std::move(Err),
            ^~~~~~~~~~ ~~~~~~~~~~~~~~~

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


Compare: https://github.com/llvm/llvm-project/compare/127bf4438542...46bc1b5689e4


More information about the All-commits mailing list