2 Commits

Author SHA1 Message Date
JOE1994
459a82e689 [llvm][unittests] Don't call raw_string_ostream::flush() (NFC)
raw_string_ostream::flush() is essentially a no-op (also specified in docs).
Don't call it in tests that aren't meant to test 'raw_string_ostream' itself.

p.s. remove a few redundant calls to raw_string_ostream::str()
2024-09-13 19:55:44 -04:00
Teresa Johnson
200034978b [MemProf] Add printing utilities for MemProf summary structures
Split out of D140908 as suggested, and added unit testing.

Differential Revision: https://reviews.llvm.org/D144314
2023-02-22 06:24:38 -08:00