[all-commits] [llvm/llvm-project] 0a5edb: [bolt] Don't call llvm::raw_string_ostream::flush(...

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Mon Sep 23 15:16:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a5edb4de408ae0405f85c3e4c6da5233f185f63
      https://github.com/llvm/llvm-project/commit/0a5edb4de408ae0405f85c3e4c6da5233f185f63
  Author: Youngsuk Kim <youngsuk.kim at hpe.com>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryData.h
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Passes/RetpolineInsertion.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp

  Log Message:
  -----------
  [bolt] Don't call llvm::raw_string_ostream::flush() (NFC)

Don't call raw_string_ostream::flush(), which is essentially a no-op.
As specified in the docs, raw_string_ostream is always unbuffered.
( 65b13610a5226b84889b923bae884ba395ad084d for further reference )



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list