[all-commits] [llvm/llvm-project] 04dcb8: GCC 5.3 build fix

Hans via All-commits all-commits at lists.llvm.org
Fri Nov 15 00:49:25 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04dcb8009f06268a3b92a5afa3ea8f31c1399960
      https://github.com/llvm/llvm-project/commit/04dcb8009f06268a3b92a5afa3ea8f31c1399960
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

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

  Log Message:
  -----------
  GCC 5.3 build fix

It was failing with

  llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp:56:10:
  error: could not convert ‘Obj’ from ‘std::unique_ptr<llvm::MemoryBuffer>’
  to ‘llvm::Expected<std::unique_ptr<llvm::MemoryBuffer> >’
     return Obj;
            ^


  Commit: c42e3851356724e1df15f785ae29a2d4b4e4b289
      https://github.com/llvm/llvm-project/commit/c42e3851356724e1df15f785ae29a2d4b4e4b289
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

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

  Log Message:
  -----------
  Fix GCC -Wcast-qual warnings


Compare: https://github.com/llvm/llvm-project/compare/31479d868e2a...c42e38513567


More information about the All-commits mailing list