[all-commits] [llvm/llvm-project] fb3b86: [BOLT][DWARF] Fix high pc patching

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Fri Jan 14 14:06:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb3b86fedc991facd1fcfe25ac86985959a9b647
      https://github.com/llvm/llvm-project/commit/fb3b86fedc991facd1fcfe25ac86985959a9b647
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M bolt/lib/Rewrite/DWARFRewriter.cpp

  Log Message:
  -----------
  [BOLT][DWARF] Fix high pc patching

The DW_FORM_addr form of highPC address is written in absolute addres,
the data form is written in offset-from-low pc format.

Due to the large test binary the test is prepared separately in
https://github.com/rafaelauler/bolt-tests/pull/8

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Reviewed By: ayermolo

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




More information about the All-commits mailing list