1//===-- 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 31