[all-commits] [llvm/llvm-project] bd20a3: [Orc] Avoid unused variable warning in builds with...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Fri Mar 31 02:33:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd20a344bbf813b2c39b57ad1a5248bff915ce25
      https://github.com/llvm/llvm-project/commit/bd20a344bbf813b2c39b57ad1a5248bff915ce25
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

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

  Log Message:
  -----------
  [Orc] Avoid unused variable warning in builds without asserts

DebugObjectManagerPlugin.cpp:372:8: error: unused variable 'ItInserted' [-Werror,-Wunused-variable]
  auto ItInserted = Sections.try_emplace(Name, std::move(Section));
       ^




More information about the All-commits mailing list