aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorShubham Sandeep Rastogi <srastogi22@apple.com>2023-05-26 12:05:09 -0700
committerShubham Sandeep Rastogi <srastogi22@apple.com>2023-05-30 21:37:43 -0700
commit9bd3ff8bf9e05e7bf95a4a068aa3b50813a93975 (patch)
tree5073ee63eb184f38cd2040047f9f44a9ef41b1fb /clang/lib/Frontend/CompilerInvocation.cpp
parent0a4ba485c960f76edd6fd8a5fec8bf4350710025 (diff)
downloadllvm-9bd3ff8bf9e05e7bf95a4a068aa3b50813a93975.zip
llvm-9bd3ff8bf9e05e7bf95a4a068aa3b50813a93975.tar.gz
llvm-9bd3ff8bf9e05e7bf95a4a068aa3b50813a93975.tar.bz2
Fix -u option in dsymutil, to not emit an extra DW_LNE_set_address if the original line table was empty
With dsymutil's -u option, only the accelerator tables should be updated, but with https://reviews.llvm.org/D150554 the -u option will still re-generate the line table. If the line table was empty, that is, it was a dummy line table, with no entries in it, dsymutil will always generate a line table with a DW_LNE_end_sequence, a funky side effect of this is that when the line table is re-generated, it will always emit a DW_LNE_set_address first, which will change the line table total size. This patch addresses this by making sure that if all the line table has in it is a DW_LNE_end_sequence, it is the same as a dummy entry. Differential Revision: https://reviews.llvm.org/D151579
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions