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

via llvm-bugs llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200224/5c3e5446/attachment.html>


More information about the llvm-bugs mailing list