[all-commits] [llvm/llvm-project] 57ebfe: [lldb] Surround LLDB_API-defining code with #ifnde...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Jan 20 11:51:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ebfea38c03e5cd2d0677eabd2abf761b336097
      https://github.com/llvm/llvm-project/commit/57ebfea38c03e5cd2d0677eabd2abf761b336097
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M lldb/include/lldb/API/SBDefines.h

  Log Message:
  -----------
  [lldb] Surround LLDB_API-defining code with #ifndef LLDB_API

This enables power-users to annotate lldb api functions with arbitrary
attributes. The motivation for this is being able to build liblldb as a
static library on windows (see discussion on D117564).

This should not be interpreted to mean that building liblldb is
supported in any way, but this does not cause any problems for us, and
can help users who really know what they are doing (or have no other
choice).




More information about the All-commits mailing list