[all-commits] [llvm/llvm-project] e3e63f: [CodeGen] Fixed ambiguous symbol ExtAddrMode in ca...

Dmitry Vasilyev via All-commits all-commits at lists.llvm.org
Tue Jul 26 15:22:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3e63f30a5dab85e715f7557d3a684e0f7d77090
      https://github.com/llvm/llvm-project/commit/e3e63f30a5dab85e715f7557d3a684e0f7d77090
  Author: Dmitry Vassiliev <dvassiliev at accesssoftek.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp

  Log Message:
  -----------
  [CodeGen] Fixed ambiguous symbol ExtAddrMode in case of NDEBUG and LLVM_ENABLE_DUMP

This patch fixes the following error with MSVC 16.9.2 in case of NDEBUG and LLVM_ENABLE_DUMP:
llvm/lib/CodeGen/CodeGenPrepare.cpp(2581): error C2872: 'ExtAddrMode': ambiguous symbol
llvm/include/llvm/CodeGen/TargetInstrInfo.h(86): note: could be 'llvm::ExtAddrMode'
llvm/lib/CodeGen/CodeGenPrepare.cpp(2447): note: or '`anonymous-namespace'::ExtAddrMode'
llvm/lib/CodeGen/CodeGenPrepare.cpp(2581): error C2039: 'print': is not a member of 'llvm::ExtAddrMode'

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list