commit | f1c527b5c18a615669a3d71adb7fbd072b94da4d | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Jun 21 16:54:56 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Jun 21 16:54:56 2015 +0000 |
tree | 15b1d3fb760e8db0d9d84fe5aa8bf04e298cbdc3 | |
parent | 01a8dc8ca61974beb5283f5e75a85644ab84b40d [diff] |
AsmPrinter: Don't emit empty .debug_loc entries If we don't know how to represent a .debug_loc entry, skip the entry entirely rather than emitting an empty one. Similarly, if a .debug_loc list has no entries, don't create the list. We still want to create the variables, just in an optimized-out form that doesn't have a DW_AT_location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240244 91177308-0d34-0410-b5e6-96231b3b80d8