[all-commits] [llvm/llvm-project] 0f9158: [BOLT] Handle access errors while reading profile

maksfb via All-commits all-commits at lists.llvm.org
Wed Dec 7 17:12:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f915826cc86fc585f23d4f742a27ed9e8751f76
      https://github.com/llvm/llvm-project/commit/0f915826cc86fc585f23d4f742a27ed9e8751f76
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp
    A bolt/test/unreadable-profile.test

  Log Message:
  -----------
  [BOLT] Handle access errors while reading profile

When the user does not have permissions to access the profile, consume
the error contained in Expected<> to avoid dumping stack to the user.

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




More information about the All-commits mailing list