[all-commits] [llvm/llvm-project] 7a3e66: [DebugInfo] Do not error on unsupported CIE version
Rafael Auler via All-commits
all-commits at lists.llvm.org
Mon Mar 8 19:52:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a3e664db5761e27a3cf7d67580f43470f927624
https://github.com/llvm/llvm-project/commit/7a3e664db5761e27a3cf7d67580f43470f927624
Author: Rafael Auler <rafaelauler at fb.com>
Date: 2021-03-08 (Mon, 08 Mar 2021)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
M llvm/test/DebugInfo/X86/eh-frame-invalid-version-zero.s
M llvm/test/DebugInfo/X86/eh-frame-invalid-version.s
Log Message:
-----------
[DebugInfo] Do not error on unsupported CIE version
D81469 introduced a check to error on CIE version different
than 1 for eh_frame, but older compilers mistakenly create binaries
with this version set to 3 for DWARF4 or 4 to DWARF5. Move the check
to dump time instead of eh_frame parse time, so we can be tolerant
with older binaries.
Reviewed By: aprantl
Differential Revision: https://reviews.llvm.org/D97830
More information about the All-commits
mailing list