[all-commits] [llvm/llvm-project] ec1fbf: [BOLT][NFC] Move out handleExternalReference

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Aug 23 17:36:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec1fbf229efec1f18aeac3048f9cb92f352f1756
      https://github.com/llvm/llvm-project/commit/ec1fbf229efec1f18aeac3048f9cb92f352f1756
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT][NFC] Move out handleExternalReference

Move the large lambda out of BinaryFunction::disassemble, reducing its size from
338 to 295 LoC.

Reviewed By: rafauler

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




More information about the All-commits mailing list