[all-commits] [llvm/llvm-project] c5a306: [BOLT] Fix LSDA section handling (#71821)

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Wed Nov 15 11:22:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5a306f07edd0da42a7ad9afbbfb9f55b40de07f
      https://github.com/llvm/llvm-project/commit/c5a306f07edd0da42a7ad9afbbfb9f55b40de07f
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/RewriteInstance.cpp
    A bolt/test/Inputs/lsda.ldscript
    A bolt/test/lsda.cpp

  Log Message:
  -----------
  [BOLT] Fix LSDA section handling (#71821)

Currently BOLT finds LSDA secition by it's name .gcc_except_table.main .
But sometimes it might have suffix e.g. .gcc_except_table.main. Find
LSDA section by it's address, rather by it's name.
Fixes #71804




More information about the All-commits mailing list