[all-commits] [llvm/llvm-project] f0acfa: [llvm][utils] Disable lldb formatters for PointerI...

Dave Lee via All-commits all-commits at lists.llvm.org
Thu Jul 13 15:51:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0acfaf9241899552eca6baf3db1cebd1d6f2034
      https://github.com/llvm/llvm-project/commit/f0acfaf9241899552eca6baf3db1cebd1d6f2034
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M llvm/utils/lldbDataFormatters.py

  Log Message:
  -----------
  [llvm][utils] Disable lldb formatters for PointerIntPair and PointerUnion

These synthetic providers use expression evaluation and fail in some cases.

Examples:

```
llvm::PointerIntPair<llvm::PointerUnion<const Type *, const ExtQuals *>,
                     Qualifiers::FastWidth> Value;
```

and

```
typedef llvm::PointerUnion<const ValueDecl *, const Expr *, TypeInfoLValue,
                           DynamicAllocLValue>
        PtrTy;
```

Original contribution: D117779

rdar://110791233
rdar://112195543

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




More information about the All-commits mailing list