[lldb-dev] [Bug 45011] New: lldb can swallow some of the output when doing `p SM.dump(SourceLoc)`, or similar

via lldb-dev lldb-dev at lists.llvm.org
Mon Feb 24 12:08:50 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=45011

            Bug ID: 45011
           Summary: lldb can swallow some of the output when doing `p
                    SM.dump(SourceLoc)`, or similar
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: vsk at apple.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

While debugging clang or llvm and calling 'dump' on various objects, lldb
sometimes swallows part of the output. E.g.:

```
(lldb) p BV.dump()
(lldb)1]}
```

or

```
(lldb) p SM.dump(SourceLoc)
(lldb)ile.cpp:30:10
```

Why does that happen? These dump methods are writing to dbgs(), which should
just be stderr.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200224/bda600cf/attachment.html>


More information about the lldb-dev mailing list