diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2021-08-08 08:09:59 +0300 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2021-08-09 08:54:56 +0300 |
commit | 990e8025b5fcac42da6e7ce082cd9bf81b4fbbf7 (patch) | |
tree | bc7d395e1bdc63078cb10e79d28f94d2130dd05a /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | fcf2d5f40296be4e0f0e954001beb7814f97a212 (diff) | |
download | llvm-990e8025b5fcac42da6e7ce082cd9bf81b4fbbf7.zip llvm-990e8025b5fcac42da6e7ce082cd9bf81b4fbbf7.tar.gz llvm-990e8025b5fcac42da6e7ce082cd9bf81b4fbbf7.tar.bz2 |
[MC][ELF] Do not error on parsing .debug_* section directive for MIPS
MIPS .debug_* sections should have SHT_MIPS_DWARF section type to
distinguish among sections contain DWARF and ECOFF debug formats, but in
assembly files these sections have SHT_PROGBITS (@progbits) type. Now
assembler shows 'changed section type for ...' error when parsing
`.section .debug_*,"",@progbits` directive for MIPS targets.
The same problem exists for x86-64 target and this patch extends
workaround implemented in D76151. The patch adds one more case
when assembler ignores section types mismatch after `SwitchSection()`
call.
Differential Revision: https://reviews.llvm.org/D107707
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions