1 //===-- DWARFAttribute.h ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_DWARFATTRIBUTE_H
11 #define LLVM_DEBUGINFO_DWARFATTRIBUTE_H
13 #include "llvm/Support/DataTypes.h"
17 class DWARFAttribute {
21 DWARFAttribute(uint16_t attr, uint16_t form)
22 : Attribute(attr), Form(form) {}
24 uint16_t getAttribute() const { return Attribute; }
25 uint16_t getForm() const { return Form; }