[all-commits] [llvm/llvm-project] fffb97: [lldb] Fix libstdc++ 11's std::unique_ptr affectin...

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Tue Jun 15 02:22:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fffb975095119adb5f91be4e3c83ac0cb4b1602c
      https://github.com/llvm/llvm-project/commit/fffb975095119adb5f91be4e3c83ac0cb4b1602c
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp

  Log Message:
  -----------
  [lldb] Fix libstdc++ 11's std::unique_ptr affecting LLDB testsuite TestDataFormatterStdUniquePtr.py

libstdc++ since version 11 has a conditional compilation based on
[[no_unique_address]] availability whether one element is either
inherited or put there as a field with [[no_unique_address]].

The code comment is by teemperor.

Reviewed By: teemperor

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




More information about the All-commits mailing list