diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-25 17:44:49 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-03-25 17:44:49 +0000 |
commit | b736065f782a36f594a4b3ae1ed28f854fab2fc4 (patch) | |
tree | fa1d038dbed0ab2ed2f9a9398cce174eda25fdbf /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | 2f8f019daf0fc3cee5df09988d7a9121bdcbf4c9 (diff) | |
download | llvm-b736065f782a36f594a4b3ae1ed28f854fab2fc4.zip llvm-b736065f782a36f594a4b3ae1ed28f854fab2fc4.tar.gz llvm-b736065f782a36f594a4b3ae1ed28f854fab2fc4.tar.bz2 |
DebugInfo: Permit DW_TAG_structure_type, DW_TAG_member, DW_TAG_typedef tags with empty file names.
Some languages, such as Go, have pre-defined structure types (e.g. "string"
is essentially a pointer/length pair) or pre-defined "typedef" types
(e.g. "error" is essentially a typedef for a specific interface type).
Such types do not have associated source location, so a Go frontend would
be correct not to associate a file name with such types.
This change relaxes the DIType verifier to permit unlocated types with
these tags.
Differential Revision: http://reviews.llvm.org/D8588
llvm-svn: 233200
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions