[all-commits] [llvm/llvm-project] 71e278: [lldb] Fix DataExtractor symbol conflict

Emre Kultursay via All-commits all-commits at lists.llvm.org
Thu Mar 3 08:48:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71e278805a7232826f27be081d036ca3f1c85d65
      https://github.com/llvm/llvm-project/commit/71e278805a7232826f27be081d036ca3f1c85d65
  Author: Emre Kultursay <emrekultursay at google.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M lldb/source/Core/DataFileCache.cpp

  Log Message:
  -----------
  [lldb] Fix DataExtractor symbol conflict

There are two DataExtractors in scope: one from the llvm namespace and
one from the lldb_private namespace. Some Microsoft Visual C++ compilers
(I tested with MSVC 14.23 specifically) cannot handle this situation,
and generate ambiguous symbol errors. This change fixes this compile
error.

Differential revision: https://reviews.llvm.org/D120718




More information about the All-commits mailing list