|
@@ -42,6 +42,7 @@
|
|
#include "llvm/ADT/PointerUnion.h"
|
|
#include "llvm/ADT/PointerUnion.h"
|
|
#include "llvm/ADT/STLExtras.h"
|
|
#include "llvm/ADT/STLExtras.h"
|
|
#include "llvm/ADT/iterator_range.h"
|
|
#include "llvm/ADT/iterator_range.h"
|
|
|
|
+#include "llvm/BinaryFormat/Dwarf.h"
|
|
#include "llvm/Support/Casting.h"
|
|
#include "llvm/Support/Casting.h"
|
|
#include "llvm/Support/Compiler.h"
|
|
#include "llvm/Support/Compiler.h"
|
|
#include "llvm/Support/PointerLikeTypeTraits.h"
|
|
#include "llvm/Support/PointerLikeTypeTraits.h"
|
|
@@ -2941,8 +2942,10 @@ public:
|
|
/// ensure a stable ABI for this, we choose the DW_LANG_ encodings
|
|
/// ensure a stable ABI for this, we choose the DW_LANG_ encodings
|
|
/// from the dwarf standard.
|
|
/// from the dwarf standard.
|
|
enum LanguageIDs {
|
|
enum LanguageIDs {
|
|
- lang_c = /* DW_LANG_C */ 0x0002,
|
|
|
|
- lang_cxx = /* DW_LANG_C_plus_plus */ 0x0004
|
|
|
|
|
|
+ lang_c = llvm::dwarf::DW_LANG_C,
|
|
|
|
+ lang_cxx = llvm::dwarf::DW_LANG_C_plus_plus,
|
|
|
|
+ lang_cxx_11 = llvm::dwarf::DW_LANG_C_plus_plus_11,
|
|
|
|
+ lang_cxx_14 = llvm::dwarf::DW_LANG_C_plus_plus_14
|
|
};
|
|
};
|
|
|
|
|
|
private:
|
|
private:
|