diff options
| author | Victor Leschuk <vleschuk@accesssoftek.com> | 2017-02-25 13:15:57 +0000 |
|---|---|---|
| committer | Victor Leschuk <vleschuk@accesssoftek.com> | 2017-02-25 13:15:57 +0000 |
| commit | 96d9981ec67e1076ce2aa512afb2ca55beb64026 (patch) | |
| tree | 0dec515595191f8daefa6fcefb2c3004b6a6f67e /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | beabf456df875f0b0d11cb5784bc479e976390fc (diff) | |
| download | llvm-96d9981ec67e1076ce2aa512afb2ca55beb64026.zip llvm-96d9981ec67e1076ce2aa512afb2ca55beb64026.tar.gz llvm-96d9981ec67e1076ce2aa512afb2ca55beb64026.tar.bz2 | |
[DebugInfo] Skip implicit_const attributes when dumping .debug_info. NFC.
When dumping .debug_info section we loop through all attributes mentioned in
.debug_abbrev section and dump values using DWARFFormValue::extractValue().
We need to skip implicit_const attributes here as their values are not
really located in .debug_info but directly in .debug_abbrev. This patch fixes
triggered assert() in DWARFFormValue::extractValue() caused by trying to
access implicit_const values from .debug_info.
llvm-svn: 296253
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
