diff options
author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2020-04-20 13:53:15 +0300 |
---|---|---|
committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2020-04-20 13:57:49 +0300 |
commit | 4a983b25bf224b47cd56a53a5f4cbe139dc7a648 (patch) | |
tree | 160115b32f26f4cc487a01408116b571e9b4f5d8 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 2cfcbc52c3f5886f30cf3e7e8d5155598bc22732 (diff) | |
download | llvm-4a983b25bf224b47cd56a53a5f4cbe139dc7a648.zip llvm-4a983b25bf224b47cd56a53a5f4cbe139dc7a648.tar.gz llvm-4a983b25bf224b47cd56a53a5f4cbe139dc7a648.tar.bz2 |
[MC][DWARF] Corrected handling of is_stmt flag in .loc directives
According to DWARF standard, is_stmt is a global flag; when set or cleared it should affect subsequent .loc directives.
However llvm assembler handled is_stmt differently: it forced all locations to have is_stmt=1 unless is_stmt was specified explicitly as 0.
The fix utilizes current DWARF state flags to compute correct is_stmt values.
See https://bugs.llvm.org/show_bug.cgi?id=45529 for a detailed issue description.
Reviewers: arsenm, probinson, enderby
Differential Revision: https://reviews.llvm.org/D78102
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions