[all-commits] [llvm/llvm-project] 713b28: [BOLT][NFC] Fix debug messages

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jun 6 15:51:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 713b28532e9fe44ee42aa3515df44e3ca4c40b90
      https://github.com/llvm/llvm-project/commit/713b28532e9fe44ee42aa3515df44e3ca4c40b90
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [BOLT][NFC] Fix debug messages

Fix debug printing, making it easier to compare two debug logs side by side:
- `BinaryFunction::addRelocation`: print function name instead of `this` ptr,
- `DataAggregator::doTrace`: remove duplicated function name.

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D152314




More information about the All-commits mailing list