summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2019-06-21 13:10:19 +0000
committerPaul Robinson <paul.robinson@sony.com>2019-06-21 13:10:19 +0000
commit26cc5bcb1a392c9e352be35c50f18e1404d91159 (patch)
treed125a1c36a22fc1629f2e236052779bcd3917b68 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent36a999ffb8c245d516602d4e4725ef2c5c544184 (diff)
downloadbcm5719-llvm-26cc5bcb1a392c9e352be35c50f18e1404d91159.tar.gz
bcm5719-llvm-26cc5bcb1a392c9e352be35c50f18e1404d91159.zip
Fix a crash with assembler source and -g.
llvm-mc or clang with -g normally produces debug info describing the assembler source itself; however, if that source already contains some .file/.loc directives, we should instead emit the debug info described by those directives. For certain assembler sources seen in the wild (particularly in the Chrome build) this was causing a crash due to incorrect assumptions about legal sequences of assembler source text. Fixes PR38994. Differential Revision: https://reviews.llvm.org/D63573 llvm-svn: 364039
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud