There were a few places where outs() was being used
directly rather than the ScopedPrinter object.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 13248 Build 13248: arc lint + arc unit
Event Timeline
tools/llvm-readobj/StackMapPrinter.h | ||
---|---|---|
32–44 | I think you want to remove all these \n characters right? The previous code was basically printing one string on each line, but in the new version each string is terminated with \n, and then another line is started immediately after by calling W.startLine(); |
tools/llvm-readobj/StackMapPrinter.h | ||
---|---|---|
32–44 | IIUC startLine() only adds indentention, its doesn't add newlines, so any line that is started with startLine() still needs to end in a "\n". I think the output is unchanged, otherwise test/Object/stackmap-dump.test would be broken. |
I think you want to remove all these \n characters right? The previous code was basically printing one string on each line, but in the new version each string is terminated with \n, and then another line is started immediately after by calling W.startLine();