[all-commits] [llvm/llvm-project] c75aac: [DWARF] Don't assume optional always has a value.
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Jan 3 09:53:54 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c75aac42a635bf710e818487592ea3bc5d7ef9b1
https://github.com/llvm/llvm-project/commit/c75aac42a635bf710e818487592ea3bc5d7ef9b1
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-01-03 (Fri, 03 Jan 2020)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
Log Message:
-----------
[DWARF] Don't assume optional always has a value.
When getting the file name form the line table prologue we assume that a
valid string form value can always be extracted as a string. If you look
at the implementation of DWARFormValue this is not necessarily true. I
hit this assertion from LLDB when I create a "dummy" DWARFContext that
was missing the string section.
More information about the All-commits
mailing list