diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-04 23:38:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-04 23:38:29 +0000 |
commit | 5afaf5d1c1879d5cfbb3230dcb56297bd886bda4 (patch) | |
tree | 70873d2854dbf049307ccc034057dfd4695a525e /include | |
parent | 5b34493843fee70dd0aba300466da2b020676d65 (diff) | |
download | external_llvm-5afaf5d1c1879d5cfbb3230dcb56297bd886bda4.zip external_llvm-5afaf5d1c1879d5cfbb3230dcb56297bd886bda4.tar.gz external_llvm-5afaf5d1c1879d5cfbb3230dcb56297bd886bda4.tar.bz2 |
Move default dwarf version enum into the llvm dwarf constants rather
than the spec dwarf constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Dwarf.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index ab4b449..13bca8e 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -41,7 +41,7 @@ namespace dwarf { //===----------------------------------------------------------------------===// // Dwarf constants as gleaned from the DWARF Debugging Information Format V.4 -// reference manual http://dwarf.freestandards.org . +// reference manual http://dwarf.freestandards.org. // // Do not mix the following two enumerations sets. DW_TAG_invalid changes the @@ -56,6 +56,7 @@ enum llvm_dwarf_constants { DW_TAG_user_base = 0x1000, // Recommended base for user tags. + DWARF_VERSION = 4, // Default dwarf version we output. DW_CIE_VERSION = 1, // Common frame information version. DW_PUBTYPES_VERSION = 2, // Section version number for .debug_pubtypes. DW_PUBNAMES_VERSION = 2 // Section version number for .debug_pubnames. @@ -69,8 +70,6 @@ const uint64_t DW64_CIE_ID = UINT64_MAX; enum dwarf_constants { - DWARF_VERSION = 4, - // Tags DW_TAG_array_type = 0x01, DW_TAG_class_type = 0x02, |