aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2025-10-14 14:02:24 -0700
committerGitHub <noreply@github.com>2025-10-14 14:02:24 -0700
commit93185ea6fe0ad4a26e46635c190f1a8d7bf1933c (patch)
treee0adbc1ac9e86e4196c98ea351bec02ae249fdf8 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentd4ca6f6710c3e8bcd77477d1d19f52186f98a429 (diff)
downloadllvm-93185ea6fe0ad4a26e46635c190f1a8d7bf1933c.zip
llvm-93185ea6fe0ad4a26e46635c190f1a8d7bf1933c.tar.gz
llvm-93185ea6fe0ad4a26e46635c190f1a8d7bf1933c.tar.bz2
Fix a spurious error that was emitted for invalid DW_AT_decl_file. (#152608)
The GSYM code was trying to warn if there are no line table entries for a function and if the DW_AT_decl_file attribute had a file index that was invalid. The code was always emitting a error even if a DW_TAG_subprogram DIE had no DW_AT_decl_file. We should only emit an error if there is a DW_AT_decl_file attribute and it's file index isn't valid.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions