[DWARF parser] Use enums instead of bitfields in DILineInfoSpecifier.
authorAlexey Samsonov <samsonov@google.com>
Thu, 15 May 2014 21:24:32 +0000 (21:24 +0000)
committerAlexey Samsonov <samsonov@google.com>
Thu, 15 May 2014 21:24:32 +0000 (21:24 +0000)
commitb043c3d94a7d6440f7c333f835e5d1c921a679b7
treecacfc8715ba01dcccd1911426943bdff2df40efa
parent48ea98d1d228dfc58f9662473a4253c052c44b03
[DWARF parser] Use enums instead of bitfields in DILineInfoSpecifier.

It is more appropriate than the current situation, when one flag
(AbsoluteFilePath) is relevant only if another flag is set.

This refactoring would also simplify fetching the short function name
(stored in DW_AT_name) instead of a linkage name returned currently.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208921 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DIContext.h
lib/DebugInfo/DWARFContext.cpp
lib/DebugInfo/DWARFDebugInfoEntry.cpp
lib/DebugInfo/DWARFDebugInfoEntry.h
lib/DebugInfo/DWARFDebugLine.cpp
lib/DebugInfo/DWARFDebugLine.h
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
tools/llvm-symbolizer/LLVMSymbolize.cpp