blob: 6f49b637c6a6884bd1d44caa7c403dc6b044c31b [file] [log] [blame]
Benjamin Kramer72c0d7f2011-09-13 19:42:23 +00001//===-- DWARFAttribute.h ----------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_DEBUGINFO_DWARFATTRIBUTE_H
11#define LLVM_DEBUGINFO_DWARFATTRIBUTE_H
12
13#include "llvm/Support/DataTypes.h"
14
15namespace llvm {
16
17class DWARFAttribute {
18 uint16_t Attribute;
19 uint16_t Form;
20 public:
21 DWARFAttribute(uint16_t attr, uint16_t form)
22 : Attribute(attr), Form(form) {}
23
24 uint16_t getAttribute() const { return Attribute; }
25 uint16_t getForm() const { return Form; }
26};
27
28}
29
30#endif