blob: b6a7fa89cf344b1aebfb756369935d724a2d0451 [file] [log] [blame]
Bill Wendling88423ee2009-05-15 00:11:17 +00001//===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- 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// Data structures for DWARF info entries.
11//
12//===----------------------------------------------------------------------===//
13
Bill Wendling0310d762009-05-15 09:23:25 +000014#ifndef CODEGEN_ASMPRINTER_DIE_H__
15#define CODEGEN_ASMPRINTER_DIE_H__
Bill Wendling88423ee2009-05-15 00:11:17 +000016
Bill Wendling88423ee2009-05-15 00:11:17 +000017#include "llvm/ADT/FoldingSet.h"
18#include "llvm/ADT/SmallVector.h"
19#include "llvm/Support/Compiler.h"
20#include "llvm/Support/Dwarf.h"
Chris Lattnerb01acfa2009-08-23 01:01:17 +000021#include <vector>
Bill Wendling88423ee2009-05-15 00:11:17 +000022
23namespace llvm {
24 class AsmPrinter;
Chris Lattner066c9ac2010-01-22 22:23:57 +000025 class DwarfPrinter;
Bill Wendling88423ee2009-05-15 00:11:17 +000026 class TargetData;
Chris Lattner858431d2010-01-16 18:50:28 +000027 class MCSymbol;
Chris Lattnerb98b1bf2010-03-08 22:23:36 +000028 class raw_ostream;
Bill Wendling88423ee2009-05-15 00:11:17 +000029
30 //===--------------------------------------------------------------------===//
31 /// DIEAbbrevData - Dwarf abbreviation data, describes the one attribute of a
32 /// Dwarf abbreviation.
Nick Lewycky381afae2009-11-17 09:17:08 +000033 class DIEAbbrevData {
Bill Wendling88423ee2009-05-15 00:11:17 +000034 /// Attribute - Dwarf attribute code.
35 ///
36 unsigned Attribute;
37
38 /// Form - Dwarf form code.
39 ///
40 unsigned Form;
41 public:
42 DIEAbbrevData(unsigned A, unsigned F) : Attribute(A), Form(F) {}
43
44 // Accessors.
45 unsigned getAttribute() const { return Attribute; }
46 unsigned getForm() const { return Form; }
47
48 /// Profile - Used to gather unique data for the abbreviation folding set.
49 ///
50 void Profile(FoldingSetNodeID &ID) const;
51 };
52
53 //===--------------------------------------------------------------------===//
54 /// DIEAbbrev - Dwarf abbreviation, describes the organization of a debug
55 /// information object.
Nick Lewycky381afae2009-11-17 09:17:08 +000056 class DIEAbbrev : public FoldingSetNode {
Bill Wendling88423ee2009-05-15 00:11:17 +000057 /// Tag - Dwarf tag code.
58 ///
59 unsigned Tag;
60
61 /// Unique number for node.
62 ///
63 unsigned Number;
64
65 /// ChildrenFlag - Dwarf children flag.
66 ///
67 unsigned ChildrenFlag;
68
69 /// Data - Raw data bytes for abbreviation.
70 ///
71 SmallVector<DIEAbbrevData, 8> Data;
Devang Patel6404e4e2009-12-15 19:16:48 +000072
Bill Wendling88423ee2009-05-15 00:11:17 +000073 public:
74 DIEAbbrev(unsigned T, unsigned C) : Tag(T), ChildrenFlag(C), Data() {}
75 virtual ~DIEAbbrev() {}
76
77 // Accessors.
78 unsigned getTag() const { return Tag; }
79 unsigned getNumber() const { return Number; }
80 unsigned getChildrenFlag() const { return ChildrenFlag; }
81 const SmallVector<DIEAbbrevData, 8> &getData() const { return Data; }
82 void setTag(unsigned T) { Tag = T; }
83 void setChildrenFlag(unsigned CF) { ChildrenFlag = CF; }
84 void setNumber(unsigned N) { Number = N; }
85
86 /// AddAttribute - Adds another set of attribute information to the
87 /// abbreviation.
88 void AddAttribute(unsigned Attribute, unsigned Form) {
89 Data.push_back(DIEAbbrevData(Attribute, Form));
90 }
91
92 /// AddFirstAttribute - Adds a set of attribute information to the front
93 /// of the abbreviation.
94 void AddFirstAttribute(unsigned Attribute, unsigned Form) {
95 Data.insert(Data.begin(), DIEAbbrevData(Attribute, Form));
96 }
97
98 /// Profile - Used to gather unique data for the abbreviation folding set.
99 ///
100 void Profile(FoldingSetNodeID &ID) const;
101
102 /// Emit - Print the abbreviation using the specified asm printer.
103 ///
Chris Lattner12e555c2010-01-23 00:15:00 +0000104 void Emit(const DwarfPrinter *DP) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000105
106#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000107 void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000108 void dump();
109#endif
110 };
111
112 //===--------------------------------------------------------------------===//
113 /// DIE - A structured debug information entry. Has an abbreviation which
114 /// describes it's organization.
Douglas Gregor1ddcf352010-03-08 02:58:37 +0000115 class CompileUnit;
Bill Wendling88423ee2009-05-15 00:11:17 +0000116 class DIEValue;
117
Devang Patel6f01d9c2009-11-21 00:31:03 +0000118 class DIE {
Bill Wendling88423ee2009-05-15 00:11:17 +0000119 protected:
120 /// Abbrev - Buffer for constructing abbreviation.
121 ///
122 DIEAbbrev Abbrev;
123
124 /// Offset - Offset in debug info section.
125 ///
126 unsigned Offset;
127
128 /// Size - Size of instance + children.
129 ///
130 unsigned Size;
131
132 /// Children DIEs.
133 ///
134 std::vector<DIE *> Children;
135
Devang Patel6404e4e2009-12-15 19:16:48 +0000136 DIE *Parent;
137
Bill Wendling88423ee2009-05-15 00:11:17 +0000138 /// Attributes values.
139 ///
140 SmallVector<DIEValue*, 32> Values;
141
Owen Andersond5509f22009-06-24 23:13:56 +0000142 // Private data for print()
143 mutable unsigned IndentCount;
Bill Wendling88423ee2009-05-15 00:11:17 +0000144 public:
145 explicit DIE(unsigned Tag)
Owen Andersond5509f22009-06-24 23:13:56 +0000146 : Abbrev(Tag, dwarf::DW_CHILDREN_no), Offset(0),
Devang Patel6404e4e2009-12-15 19:16:48 +0000147 Size(0), Parent (0), IndentCount(0) {}
Bill Wendling88423ee2009-05-15 00:11:17 +0000148 virtual ~DIE();
149
150 // Accessors.
151 DIEAbbrev &getAbbrev() { return Abbrev; }
152 unsigned getAbbrevNumber() const { return Abbrev.getNumber(); }
153 unsigned getTag() const { return Abbrev.getTag(); }
154 unsigned getOffset() const { return Offset; }
155 unsigned getSize() const { return Size; }
156 const std::vector<DIE *> &getChildren() const { return Children; }
157 SmallVector<DIEValue*, 32> &getValues() { return Values; }
Devang Patel6404e4e2009-12-15 19:16:48 +0000158 DIE *getParent() const { return Parent; }
Bill Wendling88423ee2009-05-15 00:11:17 +0000159 void setTag(unsigned Tag) { Abbrev.setTag(Tag); }
160 void setOffset(unsigned O) { Offset = O; }
161 void setSize(unsigned S) { Size = S; }
Douglas Gregor1ddcf352010-03-08 02:58:37 +0000162 void setParent(DIE *P) { Parent = P; }
Devang Patel6404e4e2009-12-15 19:16:48 +0000163
Devang Patel2c4ceb12009-11-21 02:48:08 +0000164 /// addValue - Add a value and attributes to a DIE.
Bill Wendling88423ee2009-05-15 00:11:17 +0000165 ///
Devang Patel2c4ceb12009-11-21 02:48:08 +0000166 void addValue(unsigned Attribute, unsigned Form, DIEValue *Value) {
Bill Wendling88423ee2009-05-15 00:11:17 +0000167 Abbrev.AddAttribute(Attribute, Form);
168 Values.push_back(Value);
169 }
170
171 /// SiblingOffset - Return the offset of the debug information entry's
172 /// sibling.
Devang Patel2c4ceb12009-11-21 02:48:08 +0000173 unsigned getSiblingOffset() const { return Offset + Size; }
Bill Wendling88423ee2009-05-15 00:11:17 +0000174
Devang Patel2c4ceb12009-11-21 02:48:08 +0000175 /// addSiblingOffset - Add a sibling offset field to the front of the DIE.
Bill Wendling88423ee2009-05-15 00:11:17 +0000176 ///
Devang Patel2c4ceb12009-11-21 02:48:08 +0000177 void addSiblingOffset();
Bill Wendling88423ee2009-05-15 00:11:17 +0000178
Devang Patel2c4ceb12009-11-21 02:48:08 +0000179 /// addChild - Add a child to the DIE.
Bill Wendling88423ee2009-05-15 00:11:17 +0000180 ///
Devang Patel2c4ceb12009-11-21 02:48:08 +0000181 void addChild(DIE *Child) {
Devang Patel6404e4e2009-12-15 19:16:48 +0000182 if (Child->getParent()) {
183 assert (Child->getParent() == this && "Unexpected DIE Parent!");
184 return;
185 }
Bill Wendling88423ee2009-05-15 00:11:17 +0000186 Abbrev.setChildrenFlag(dwarf::DW_CHILDREN_yes);
187 Children.push_back(Child);
Douglas Gregor1ddcf352010-03-08 02:58:37 +0000188 Child->setParent(this);
Bill Wendling88423ee2009-05-15 00:11:17 +0000189 }
190
Bill Wendling88423ee2009-05-15 00:11:17 +0000191#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000192 void print(raw_ostream &O, unsigned IncIndent = 0);
Bill Wendling88423ee2009-05-15 00:11:17 +0000193 void dump();
194#endif
195 };
196
197 //===--------------------------------------------------------------------===//
198 /// DIEValue - A debug information entry value.
199 ///
Devang Patel6f01d9c2009-11-21 00:31:03 +0000200 class DIEValue {
Bill Wendling88423ee2009-05-15 00:11:17 +0000201 public:
202 enum {
203 isInteger,
204 isString,
205 isLabel,
Bill Wendling88423ee2009-05-15 00:11:17 +0000206 isSectionOffset,
207 isDelta,
208 isEntry,
209 isBlock
210 };
211 protected:
212 /// Type - Type of data stored in the value.
213 ///
214 unsigned Type;
215 public:
216 explicit DIEValue(unsigned T) : Type(T) {}
217 virtual ~DIEValue() {}
218
219 // Accessors
220 unsigned getType() const { return Type; }
221
222 /// EmitValue - Emit value via the Dwarf writer.
223 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000224 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const = 0;
Bill Wendling88423ee2009-05-15 00:11:17 +0000225
226 /// SizeOf - Return the size of a value in bytes.
227 ///
228 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const = 0;
229
Bill Wendling88423ee2009-05-15 00:11:17 +0000230 // Implement isa/cast/dyncast.
231 static bool classof(const DIEValue *) { return true; }
232
233#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000234 virtual void print(raw_ostream &O) = 0;
Bill Wendling88423ee2009-05-15 00:11:17 +0000235 void dump();
236#endif
237 };
238
239 //===--------------------------------------------------------------------===//
240 /// DIEInteger - An integer value DIE.
241 ///
Nick Lewycky381afae2009-11-17 09:17:08 +0000242 class DIEInteger : public DIEValue {
Bill Wendling88423ee2009-05-15 00:11:17 +0000243 uint64_t Integer;
244 public:
245 explicit DIEInteger(uint64_t I) : DIEValue(isInteger), Integer(I) {}
246
247 /// BestForm - Choose the best form for integer.
248 ///
249 static unsigned BestForm(bool IsSigned, uint64_t Int) {
250 if (IsSigned) {
251 if ((char)Int == (signed)Int) return dwarf::DW_FORM_data1;
252 if ((short)Int == (signed)Int) return dwarf::DW_FORM_data2;
253 if ((int)Int == (signed)Int) return dwarf::DW_FORM_data4;
254 } else {
255 if ((unsigned char)Int == Int) return dwarf::DW_FORM_data1;
256 if ((unsigned short)Int == Int) return dwarf::DW_FORM_data2;
257 if ((unsigned int)Int == Int) return dwarf::DW_FORM_data4;
258 }
259 return dwarf::DW_FORM_data8;
260 }
261
262 /// EmitValue - Emit integer of appropriate size.
263 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000264 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000265
266 /// SizeOf - Determine size of integer value in bytes.
267 ///
268 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const;
269
Bill Wendling88423ee2009-05-15 00:11:17 +0000270
271 // Implement isa/cast/dyncast.
272 static bool classof(const DIEInteger *) { return true; }
273 static bool classof(const DIEValue *I) { return I->getType() == isInteger; }
274
275#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000276 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000277#endif
278 };
279
280 //===--------------------------------------------------------------------===//
Devang Patel69f57b12009-12-02 15:25:16 +0000281 /// DIEString - A string value DIE. This DIE keeps string reference only.
Bill Wendling88423ee2009-05-15 00:11:17 +0000282 ///
Nick Lewycky381afae2009-11-17 09:17:08 +0000283 class DIEString : public DIEValue {
Devang Patele9a05972009-11-24 19:42:17 +0000284 const StringRef Str;
Bill Wendling88423ee2009-05-15 00:11:17 +0000285 public:
Devang Patele9a05972009-11-24 19:42:17 +0000286 explicit DIEString(const StringRef S) : DIEValue(isString), Str(S) {}
Bill Wendling88423ee2009-05-15 00:11:17 +0000287
288 /// EmitValue - Emit string value.
289 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000290 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000291
292 /// SizeOf - Determine size of string value in bytes.
293 ///
294 virtual unsigned SizeOf(const TargetData *, unsigned /*Form*/) const {
295 return Str.size() + sizeof(char); // sizeof('\0');
296 }
297
Bill Wendling88423ee2009-05-15 00:11:17 +0000298 // Implement isa/cast/dyncast.
299 static bool classof(const DIEString *) { return true; }
300 static bool classof(const DIEValue *S) { return S->getType() == isString; }
301
302#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000303 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000304#endif
305 };
306
307 //===--------------------------------------------------------------------===//
Chris Lattner4faf59a2010-03-08 22:31:46 +0000308 /// DIELabel - A label expression DIE.
Bill Wendling88423ee2009-05-15 00:11:17 +0000309 //
Chris Lattner4faf59a2010-03-08 22:31:46 +0000310 class DIELabel : public DIEValue {
Chris Lattnerb98b1bf2010-03-08 22:23:36 +0000311 const MCSymbol *Label;
Bill Wendling88423ee2009-05-15 00:11:17 +0000312 public:
Chris Lattner4faf59a2010-03-08 22:31:46 +0000313 explicit DIELabel(const MCSymbol *L) : DIEValue(isLabel), Label(L) {}
Bill Wendling88423ee2009-05-15 00:11:17 +0000314
315 /// EmitValue - Emit label value.
316 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000317 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000318
319 /// SizeOf - Determine size of label value in bytes.
320 ///
321 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const;
322
Bill Wendling88423ee2009-05-15 00:11:17 +0000323 // Implement isa/cast/dyncast.
Chris Lattner4faf59a2010-03-08 22:31:46 +0000324 static bool classof(const DIELabel *) { return true; }
Bill Wendling88423ee2009-05-15 00:11:17 +0000325 static bool classof(const DIEValue *L) { return L->getType() == isLabel; }
326
327#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000328 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000329#endif
330 };
331
332 //===--------------------------------------------------------------------===//
Bill Wendling88423ee2009-05-15 00:11:17 +0000333 /// DIESectionOffset - A section offset DIE.
334 ///
Nick Lewycky381afae2009-11-17 09:17:08 +0000335 class DIESectionOffset : public DIEValue {
Chris Lattnerb98b1bf2010-03-08 22:23:36 +0000336 const MCSymbol *Label;
337 const MCSymbol *Section;
Bill Wendling88423ee2009-05-15 00:11:17 +0000338 bool IsEH : 1;
339 bool UseSet : 1;
340 public:
Chris Lattnerb98b1bf2010-03-08 22:23:36 +0000341 DIESectionOffset(const MCSymbol *Lab, const MCSymbol *Sec,
Bill Wendling88423ee2009-05-15 00:11:17 +0000342 bool isEH = false, bool useSet = true)
343 : DIEValue(isSectionOffset), Label(Lab), Section(Sec),
344 IsEH(isEH), UseSet(useSet) {}
345
346 /// EmitValue - Emit section offset.
347 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000348 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000349
350 /// SizeOf - Determine size of section offset value in bytes.
351 ///
352 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const;
353
Bill Wendling88423ee2009-05-15 00:11:17 +0000354 // Implement isa/cast/dyncast.
355 static bool classof(const DIESectionOffset *) { return true; }
356 static bool classof(const DIEValue *D) {
357 return D->getType() == isSectionOffset;
358 }
359
360#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000361 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000362#endif
363 };
364
365 //===--------------------------------------------------------------------===//
366 /// DIEDelta - A simple label difference DIE.
367 ///
Nick Lewycky381afae2009-11-17 09:17:08 +0000368 class DIEDelta : public DIEValue {
Chris Lattnerb98b1bf2010-03-08 22:23:36 +0000369 const MCSymbol *LabelHi;
370 const MCSymbol *LabelLo;
Bill Wendling88423ee2009-05-15 00:11:17 +0000371 public:
Chris Lattnerb98b1bf2010-03-08 22:23:36 +0000372 DIEDelta(const MCSymbol *Hi, const MCSymbol *Lo)
Bill Wendling88423ee2009-05-15 00:11:17 +0000373 : DIEValue(isDelta), LabelHi(Hi), LabelLo(Lo) {}
374
375 /// EmitValue - Emit delta value.
376 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000377 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000378
379 /// SizeOf - Determine size of delta value in bytes.
380 ///
381 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const;
382
Bill Wendling88423ee2009-05-15 00:11:17 +0000383 // Implement isa/cast/dyncast.
384 static bool classof(const DIEDelta *) { return true; }
385 static bool classof(const DIEValue *D) { return D->getType() == isDelta; }
386
387#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000388 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000389#endif
390 };
391
392 //===--------------------------------------------------------------------===//
393 /// DIEntry - A pointer to another debug information entry. An instance of
394 /// this class can also be used as a proxy for a debug information entry not
395 /// yet defined (ie. types.)
Nick Lewycky381afae2009-11-17 09:17:08 +0000396 class DIEEntry : public DIEValue {
Bill Wendling88423ee2009-05-15 00:11:17 +0000397 DIE *Entry;
398 public:
399 explicit DIEEntry(DIE *E) : DIEValue(isEntry), Entry(E) {}
400
401 DIE *getEntry() const { return Entry; }
402 void setEntry(DIE *E) { Entry = E; }
403
404 /// EmitValue - Emit debug information entry offset.
405 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000406 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000407
408 /// SizeOf - Determine size of debug information entry in bytes.
409 ///
410 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const {
411 return sizeof(int32_t);
412 }
413
Bill Wendling88423ee2009-05-15 00:11:17 +0000414 // Implement isa/cast/dyncast.
415 static bool classof(const DIEEntry *) { return true; }
416 static bool classof(const DIEValue *E) { return E->getType() == isEntry; }
417
418#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000419 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000420#endif
421 };
422
423 //===--------------------------------------------------------------------===//
424 /// DIEBlock - A block of values. Primarily used for location expressions.
425 //
Nick Lewycky381afae2009-11-17 09:17:08 +0000426 class DIEBlock : public DIEValue, public DIE {
Bill Wendling88423ee2009-05-15 00:11:17 +0000427 unsigned Size; // Size in bytes excluding size header.
428 public:
429 DIEBlock()
430 : DIEValue(isBlock), DIE(0), Size(0) {}
431 virtual ~DIEBlock() {}
432
433 /// ComputeSize - calculate the size of the block.
434 ///
435 unsigned ComputeSize(const TargetData *TD);
436
437 /// BestForm - Choose the best form for data.
438 ///
439 unsigned BestForm() const {
440 if ((unsigned char)Size == Size) return dwarf::DW_FORM_block1;
441 if ((unsigned short)Size == Size) return dwarf::DW_FORM_block2;
442 if ((unsigned int)Size == Size) return dwarf::DW_FORM_block4;
443 return dwarf::DW_FORM_block;
444 }
445
446 /// EmitValue - Emit block data.
447 ///
Chris Lattner066c9ac2010-01-22 22:23:57 +0000448 virtual void EmitValue(DwarfPrinter *D, unsigned Form) const;
Bill Wendling88423ee2009-05-15 00:11:17 +0000449
450 /// SizeOf - Determine size of block data in bytes.
451 ///
452 virtual unsigned SizeOf(const TargetData *TD, unsigned Form) const;
453
Bill Wendling88423ee2009-05-15 00:11:17 +0000454 // Implement isa/cast/dyncast.
455 static bool classof(const DIEBlock *) { return true; }
456 static bool classof(const DIEValue *E) { return E->getType() == isBlock; }
457
458#ifndef NDEBUG
Chris Lattnerb01acfa2009-08-23 01:01:17 +0000459 virtual void print(raw_ostream &O);
Bill Wendling88423ee2009-05-15 00:11:17 +0000460#endif
461 };
462
463} // end llvm namespace
464
465#endif