[all-commits] [llvm/llvm-project] 1ee740: [BOLT][DWARF] Fix updating CU that has no entry in...
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Thu Aug 25 17:03:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ee74064e0831c479a8d657ba87a7e8560d15d7a
https://github.com/llvm/llvm-project/commit/1ee74064e0831c479a8d657ba87a7e8560d15d7a
Author: Alexander Yermolovich <ayermolo at fb.com>
Date: 2022-08-25 (Thu, 25 Aug 2022)
Changed paths:
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s
A bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-main.s
A bolt/test/X86/dwarf5-cu-no-debug-addr.test
Log Message:
-----------
[BOLT][DWARF] Fix updating CU that has no entry in .debug_addr
We were trying to process .debug_addr for CU that doesn't have it. This resulted
in assert. Example came from GCC that also doesn't use DW_OP_addrx in
DW_FORM_exprloc.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D132422
More information about the All-commits
mailing list