-//===-- DWARFDebugMacro.h ---------------------------------------*- C++ -*-===//\r
-//\r
-// The LLVM Compiler Infrastructure\r
-//\r
-// This file is distributed under the University of Illinois Open Source\r
-// License. See LICENSE.TXT for details.\r
-//\r
-//===----------------------------------------------------------------------===//\r
-\r
-#ifndef LLVM_DEBUGINFO_DWARF_DWARFDEBUGMACRO_H\r
-#define LLVM_DEBUGINFO_DWARF_DWARFDEBUGMACRO_H\r
-\r
-#include "llvm/ADT/SmallVector.h"\r
-#include "llvm/ADT/StringRef.h"\r
-#include "llvm/Support/DataExtractor.h"\r
-#include "llvm/Support/Dwarf.h"\r
-\r
-namespace llvm {\r
-\r
-class raw_ostream;\r
-\r
-class DWARFDebugMacro {\r
- /// A single macro entry within a macro list.\r
- struct Entry {\r
- /// The type of the macro entry.\r
- uint32_t Type;\r
- union {\r
- /// The source line where the macro is defined.\r
- uint64_t Line;\r
- /// Vendor extension constant value.\r
- uint64_t ExtConstant;\r
- };\r
-\r
- union {\r
- /// The string (name, value) of the macro entry.\r
- const char *MacroStr;\r
- // An unsigned integer indicating the identity of the source file.\r
- uint64_t File;\r
- /// Vendor extension string.\r
- const char *ExtStr;\r
- };\r
- };\r
-\r
- typedef SmallVector<Entry, 4> MacroList;\r
-\r
- /// A list of all the macro entries in the debug_macinfo section.\r
- MacroList Macros;\r
-\r
-public:\r
- DWARFDebugMacro() {}\r
- /// Print the macro list found within the debug_macinfo section.\r
- void dump(raw_ostream &OS) const;\r
- /// Parse the debug_macinfo section accessible via the 'data' parameter.\r
- void parse(DataExtractor data);\r
-};\r
-\r
-}\r
-\r
-#endif\r
+//===-- DWARFDebugMacro.h ---------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DEBUGINFO_DWARF_DWARFDEBUGMACRO_H
+#define LLVM_DEBUGINFO_DWARF_DWARFDEBUGMACRO_H
+
+#include "llvm/ADT/SmallVector.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Support/DataExtractor.h"
+#include "llvm/Support/Dwarf.h"
+
+namespace llvm {
+
+class raw_ostream;
+
+class DWARFDebugMacro {
+ /// A single macro entry within a macro list.
+ struct Entry {
+ /// The type of the macro entry.
+ uint32_t Type;
+ union {
+ /// The source line where the macro is defined.
+ uint64_t Line;
+ /// Vendor extension constant value.
+ uint64_t ExtConstant;
+ };
+
+ union {
+ /// The string (name, value) of the macro entry.
+ const char *MacroStr;
+ // An unsigned integer indicating the identity of the source file.
+ uint64_t File;
+ /// Vendor extension string.
+ const char *ExtStr;
+ };
+ };
+
+ typedef SmallVector<Entry, 4> MacroList;
+
+ /// A list of all the macro entries in the debug_macinfo section.
+ MacroList Macros;
+
+public:
+ DWARFDebugMacro() {}
+ /// Print the macro list found within the debug_macinfo section.
+ void dump(raw_ostream &OS) const;
+ /// Parse the debug_macinfo section accessible via the 'data' parameter.
+ void parse(DataExtractor data);
+};
+
+}
+
+#endif