[all-commits] [llvm/llvm-project] 6e4c23: [BOLT][Instrumentation] Initial instrumentation su...

Elvina Yakubova via All-commits all-commits at lists.llvm.org
Thu Aug 24 09:35:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e4c230525fb66ddf4310c53bb621b5ccc579444
      https://github.com/llvm/llvm-project/commit/6e4c230525fb66ddf4310c53bb621b5ccc579444
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][Instrumentation] Initial instrumentation support for AArch64

This commit adds code generation for AArch64 instrumentation,
including direct and indirect calls support.

Reviewed By: rafauler, yota9

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


  Commit: 70405a0bf70fe1b16691fc24bae65eb0c9ff0151
      https://github.com/llvm/llvm-project/commit/70405a0bf70fe1b16691fc24bae65eb0c9ff0151
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][Instrumentation] Add support for MacOS counters

This commit adds support for generation of getter counters for AArch64 MacOS.
Continuation of work D151899

Reviewed By: rafauleir, yota9

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


  Commit: 87e9c42495aa4d290b04fa2866ec0e627a54842a
      https://github.com/llvm/llvm-project/commit/87e9c42495aa4d290b04fa2866ec0e627a54842a
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M bolt/CMakeLists.txt
    M bolt/runtime/CMakeLists.txt
    M bolt/runtime/common.h
    M bolt/runtime/instr.cpp
    A bolt/runtime/sys_aarch64.h
    A bolt/runtime/sys_x86_64.h

  Log Message:
  -----------
  [BOLT][Instrumentation] AArch64 instrumentation support in runtime

This commit adds support for AArch64 in instrumentation runtime library,
including AArch64 system calls.
Also this commit divides syscalls into target-specific files.

Reviewed By: rafauler, yota9

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


  Commit: 83cb541f806dc7745361ba80ddfe4d0a000bd366
      https://github.com/llvm/llvm-project/commit/83cb541f806dc7745361ba80ddfe4d0a000bd366
  Author: Elvina Yakubova <elvina.yakubova at huawei.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M bolt/test/X86/asm-dump.c
    M bolt/test/X86/bolt-address-translation-internal-call.test
    M bolt/test/X86/internal-call-instrument.s
    A bolt/test/runtime/AArch64/Inputs/basic-instrumentation.s
    A bolt/test/runtime/AArch64/basic-instrumentation.test
    A bolt/test/runtime/AArch64/instrumentation-ind-call.c
    M bolt/test/runtime/meta-merge-fdata.test

  Log Message:
  -----------
  [BOLT][Instrumentation][test] Fix tests

Extend tests for instrumentation

Reviewed By: rafauler

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


Compare: https://github.com/llvm/llvm-project/compare/994eb5adc40c...83cb541f806d


More information about the All-commits mailing list