DwarfDebug.h revision 2e5d870b384f7cc20ba040e827d54fa473f60800
1//===-- llvm/CodeGen/DwarfDebug.h - Dwarf Debug Framework ------*- 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// This file contains support for writing dwarf debug info into asm files. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef CODEGEN_ASMPRINTER_DWARFDEBUG_H__ 15#define CODEGEN_ASMPRINTER_DWARFDEBUG_H__ 16 17#include "DIE.h" 18#include "llvm/ADT/DenseMap.h" 19#include "llvm/ADT/FoldingSet.h" 20#include "llvm/ADT/SetVector.h" 21#include "llvm/ADT/SmallPtrSet.h" 22#include "llvm/ADT/StringMap.h" 23#include "llvm/CodeGen/AsmPrinter.h" 24#include "llvm/CodeGen/LexicalScopes.h" 25#include "llvm/DebugInfo.h" 26#include "llvm/MC/MachineLocation.h" 27#include "llvm/Support/Allocator.h" 28#include "llvm/Support/DebugLoc.h" 29 30namespace llvm { 31 32class CompileUnit; 33class ConstantInt; 34class ConstantFP; 35class DbgVariable; 36class MachineFrameInfo; 37class MachineModuleInfo; 38class MachineOperand; 39class MCAsmInfo; 40class DIEAbbrev; 41class DIE; 42class DIEBlock; 43class DIEEntry; 44class DwarfDebug; 45 46//===----------------------------------------------------------------------===// 47/// \brief This class is used to record source line correspondence. 48class SrcLineInfo { 49 unsigned Line; // Source line number. 50 unsigned Column; // Source column. 51 unsigned SourceID; // Source ID number. 52 MCSymbol *Label; // Label in code ID number. 53public: 54 SrcLineInfo(unsigned L, unsigned C, unsigned S, MCSymbol *label) 55 : Line(L), Column(C), SourceID(S), Label(label) {} 56 57 // Accessors 58 unsigned getLine() const { return Line; } 59 unsigned getColumn() const { return Column; } 60 unsigned getSourceID() const { return SourceID; } 61 MCSymbol *getLabel() const { return Label; } 62}; 63 64/// \brief This struct describes location entries emitted in the .debug_loc 65/// section. 66typedef struct DotDebugLocEntry { 67 const MCSymbol *Begin; 68 const MCSymbol *End; 69 MachineLocation Loc; 70 const MDNode *Variable; 71 bool Merged; 72 bool Constant; 73 enum EntryType { 74 E_Location, 75 E_Integer, 76 E_ConstantFP, 77 E_ConstantInt 78 }; 79 enum EntryType EntryKind; 80 81 union { 82 int64_t Int; 83 const ConstantFP *CFP; 84 const ConstantInt *CIP; 85 } Constants; 86 DotDebugLocEntry() 87 : Begin(0), End(0), Variable(0), Merged(false), 88 Constant(false) { Constants.Int = 0;} 89 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, MachineLocation &L, 90 const MDNode *V) 91 : Begin(B), End(E), Loc(L), Variable(V), Merged(false), 92 Constant(false) { Constants.Int = 0; EntryKind = E_Location; } 93 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, int64_t i) 94 : Begin(B), End(E), Variable(0), Merged(false), 95 Constant(true) { Constants.Int = i; EntryKind = E_Integer; } 96 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, const ConstantFP *FPtr) 97 : Begin(B), End(E), Variable(0), Merged(false), 98 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; } 99 DotDebugLocEntry(const MCSymbol *B, const MCSymbol *E, 100 const ConstantInt *IPtr) 101 : Begin(B), End(E), Variable(0), Merged(false), 102 Constant(true) { Constants.CIP = IPtr; EntryKind = E_ConstantInt; } 103 104 /// \brief Empty entries are also used as a trigger to emit temp label. Such 105 /// labels are referenced is used to find debug_loc offset for a given DIE. 106 bool isEmpty() { return Begin == 0 && End == 0; } 107 bool isMerged() { return Merged; } 108 void Merge(DotDebugLocEntry *Next) { 109 if (!(Begin && Loc == Next->Loc && End == Next->Begin)) 110 return; 111 Next->Begin = Begin; 112 Merged = true; 113 } 114 bool isLocation() const { return EntryKind == E_Location; } 115 bool isInt() const { return EntryKind == E_Integer; } 116 bool isConstantFP() const { return EntryKind == E_ConstantFP; } 117 bool isConstantInt() const { return EntryKind == E_ConstantInt; } 118 int64_t getInt() { return Constants.Int; } 119 const ConstantFP *getConstantFP() { return Constants.CFP; } 120 const ConstantInt *getConstantInt() { return Constants.CIP; } 121} DotDebugLocEntry; 122 123//===----------------------------------------------------------------------===// 124/// \brief This class is used to track local variable information. 125class DbgVariable { 126 DIVariable Var; // Variable Descriptor. 127 DIE *TheDIE; // Variable DIE. 128 unsigned DotDebugLocOffset; // Offset in DotDebugLocEntries. 129 DbgVariable *AbsVar; // Corresponding Abstract variable, if any. 130 const MachineInstr *MInsn; // DBG_VALUE instruction of the variable. 131 int FrameIndex; 132public: 133 // AbsVar may be NULL. 134 DbgVariable(DIVariable V, DbgVariable *AV) 135 : Var(V), TheDIE(0), DotDebugLocOffset(~0U), AbsVar(AV), MInsn(0), 136 FrameIndex(~0) {} 137 138 // Accessors. 139 DIVariable getVariable() const { return Var; } 140 void setDIE(DIE *D) { TheDIE = D; } 141 DIE *getDIE() const { return TheDIE; } 142 void setDotDebugLocOffset(unsigned O) { DotDebugLocOffset = O; } 143 unsigned getDotDebugLocOffset() const { return DotDebugLocOffset; } 144 StringRef getName() const { return Var.getName(); } 145 DbgVariable *getAbstractVariable() const { return AbsVar; } 146 const MachineInstr *getMInsn() const { return MInsn; } 147 void setMInsn(const MachineInstr *M) { MInsn = M; } 148 int getFrameIndex() const { return FrameIndex; } 149 void setFrameIndex(int FI) { FrameIndex = FI; } 150 // Translate tag to proper Dwarf tag. 151 unsigned getTag() const { 152 if (Var.getTag() == dwarf::DW_TAG_arg_variable) 153 return dwarf::DW_TAG_formal_parameter; 154 155 return dwarf::DW_TAG_variable; 156 } 157 /// \brief Return true if DbgVariable is artificial. 158 bool isArtificial() const { 159 if (Var.isArtificial()) 160 return true; 161 if (getType().isArtificial()) 162 return true; 163 return false; 164 } 165 166 bool isObjectPointer() const { 167 if (Var.isObjectPointer()) 168 return true; 169 if (getType().isObjectPointer()) 170 return true; 171 return false; 172 } 173 174 bool variableHasComplexAddress() const { 175 assert(Var.Verify() && "Invalid complex DbgVariable!"); 176 return Var.hasComplexAddress(); 177 } 178 bool isBlockByrefVariable() const { 179 assert(Var.Verify() && "Invalid complex DbgVariable!"); 180 return Var.isBlockByrefVariable(); 181 } 182 unsigned getNumAddrElements() const { 183 assert(Var.Verify() && "Invalid complex DbgVariable!"); 184 return Var.getNumAddrElements(); 185 } 186 uint64_t getAddrElement(unsigned i) const { 187 return Var.getAddrElement(i); 188 } 189 DIType getType() const; 190}; 191 192 193// A String->Symbol mapping of strings used by indirect 194// references. 195typedef StringMap<std::pair<MCSymbol*, unsigned>, 196 BumpPtrAllocator&> StrPool; 197 198/// \brief Collects and handles information specific to a particular 199/// collection of units. 200class DwarfUnits { 201 // Target of Dwarf emission, used for sizing of abbreviations. 202 AsmPrinter *Asm; 203 204 // Used to uniquely define abbreviations. 205 FoldingSet<DIEAbbrev> *AbbreviationsSet; 206 207 // A list of all the unique abbreviations in use. 208 std::vector<DIEAbbrev *> *Abbreviations; 209 210 // A pointer to all units in the section. 211 SmallVector<CompileUnit *, 1> CUs; 212 213 // Collection of strings for this unit. 214 StrPool *StringPool; 215 unsigned NextStringPoolNumber; 216 217public: 218 DwarfUnits(AsmPrinter *AP, FoldingSet<DIEAbbrev> *AS, 219 std::vector<DIEAbbrev *> *A, StrPool *SP) : 220 Asm(AP), AbbreviationsSet(AS), Abbreviations(A), 221 StringPool(SP), NextStringPoolNumber(0) {} 222 223 /// \brief Compute the size and offset of a DIE given an incoming Offset. 224 unsigned computeSizeAndOffset(DIE *Die, unsigned Offset); 225 226 /// \brief Compute the size and offset of all the DIEs. 227 void computeSizeAndOffsets(); 228 229 /// \brief Define a unique number for the abbreviation. 230 void assignAbbrevNumber(DIEAbbrev &Abbrev); 231 232 /// \brief Add a unit to the list of CUs. 233 void addUnit(CompileUnit *CU) { CUs.push_back(CU); } 234 235 /// \brief Emit all of the units to the section listed with the given 236 /// abbreviation section. 237 void emitUnits(DwarfDebug *, const MCSection *, const MCSection *, 238 const MCSymbol *); 239 240 /// \brief Returns the entry into the start of the pool. 241 MCSymbol *getStringPoolSym(); 242 243 /// \brief Returns an entry into the string pool with the given 244 /// string text. 245 MCSymbol *getStringPoolEntry(StringRef Str); 246 247 /// \brief Returns the string pool. 248 StrPool *getStringPool() { return StringPool; } 249}; 250 251/// \brief Collects and handles dwarf debug information. 252class DwarfDebug { 253 // Target of Dwarf emission. 254 AsmPrinter *Asm; 255 256 // Collected machine module information. 257 MachineModuleInfo *MMI; 258 259 // All DIEValues are allocated through this allocator. 260 BumpPtrAllocator DIEValueAllocator; 261 262 //===--------------------------------------------------------------------===// 263 // Attribute used to construct specific Dwarf sections. 264 // 265 266 CompileUnit *FirstCU; 267 268 // Maps MDNode with its corresponding CompileUnit. 269 DenseMap <const MDNode *, CompileUnit *> CUMap; 270 271 // Maps subprogram MDNode with its corresponding CompileUnit. 272 DenseMap <const MDNode *, CompileUnit *> SPMap; 273 274 // Used to uniquely define abbreviations. 275 FoldingSet<DIEAbbrev> AbbreviationsSet; 276 277 // A list of all the unique abbreviations in use. 278 std::vector<DIEAbbrev *> Abbreviations; 279 280 // Source id map, i.e. pair of source filename and directory, 281 // separated by a zero byte, mapped to a unique id. 282 StringMap<unsigned, BumpPtrAllocator&> SourceIdMap; 283 284 // A String->Symbol mapping of strings used by indirect 285 // references. 286 StrPool InfoStringPool; 287 288 // Provides a unique id per text section. 289 SetVector<const MCSection*> SectionMap; 290 291 // List of Arguments (DbgValues) for current function. 292 SmallVector<DbgVariable *, 8> CurrentFnArguments; 293 294 LexicalScopes LScopes; 295 296 // Collection of abstract subprogram DIEs. 297 DenseMap<const MDNode *, DIE *> AbstractSPDies; 298 299 // Collection of dbg variables of a scope. 300 DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> > ScopeVariables; 301 302 // Collection of abstract variables. 303 DenseMap<const MDNode *, DbgVariable *> AbstractVariables; 304 305 // Collection of DotDebugLocEntry. 306 SmallVector<DotDebugLocEntry, 4> DotDebugLocEntries; 307 308 // Collection of subprogram DIEs that are marked (at the end of the module) 309 // as DW_AT_inline. 310 SmallPtrSet<DIE *, 4> InlinedSubprogramDIEs; 311 312 // Keep track of inlined functions and their location. This 313 // information is used to populate the debug_inlined section. 314 typedef std::pair<const MCSymbol *, DIE *> InlineInfoLabels; 315 DenseMap<const MDNode *, SmallVector<InlineInfoLabels, 4> > InlineInfo; 316 SmallVector<const MDNode *, 4> InlinedSPNodes; 317 318 // This is a collection of subprogram MDNodes that are processed to create DIEs. 319 SmallPtrSet<const MDNode *, 16> ProcessedSPNodes; 320 321 // Maps instruction with label emitted before instruction. 322 DenseMap<const MachineInstr *, MCSymbol *> LabelsBeforeInsn; 323 324 // Maps instruction with label emitted after instruction. 325 DenseMap<const MachineInstr *, MCSymbol *> LabelsAfterInsn; 326 327 // Every user variable mentioned by a DBG_VALUE instruction in order of 328 // appearance. 329 SmallVector<const MDNode*, 8> UserVariables; 330 331 // For each user variable, keep a list of DBG_VALUE instructions in order. 332 // The list can also contain normal instructions that clobber the previous 333 // DBG_VALUE. 334 typedef DenseMap<const MDNode*, SmallVector<const MachineInstr*, 4> > 335 DbgValueHistoryMap; 336 DbgValueHistoryMap DbgValues; 337 338 SmallVector<const MCSymbol *, 8> DebugRangeSymbols; 339 340 // Previous instruction's location information. This is used to determine 341 // label location to indicate scope boundries in dwarf debug info. 342 DebugLoc PrevInstLoc; 343 MCSymbol *PrevLabel; 344 345 // This location indicates end of function prologue and beginning of function 346 // body. 347 DebugLoc PrologEndLoc; 348 349 struct FunctionDebugFrameInfo { 350 unsigned Number; 351 std::vector<MachineMove> Moves; 352 353 FunctionDebugFrameInfo(unsigned Num, const std::vector<MachineMove> &M) 354 : Number(Num), Moves(M) {} 355 }; 356 357 std::vector<FunctionDebugFrameInfo> DebugFrames; 358 359 // Section Symbols: these are assembler temporary labels that are emitted at 360 // the beginning of each supported dwarf section. These are used to form 361 // section offsets and are created by EmitSectionLabels. 362 MCSymbol *DwarfInfoSectionSym, *DwarfAbbrevSectionSym; 363 MCSymbol *DwarfStrSectionSym, *TextSectionSym, *DwarfDebugRangeSectionSym; 364 MCSymbol *DwarfDebugLocSectionSym; 365 MCSymbol *FunctionBeginSym, *FunctionEndSym; 366 MCSymbol *DwarfAbbrevDWOSectionSym; 367 368 // As an optimization, there is no need to emit an entry in the directory 369 // table for the same directory as DW_at_comp_dir. 370 StringRef CompilationDir; 371 372 // Counter for assigning globally unique IDs for CUs. 373 unsigned GlobalCUIndexCount; 374 375 // Holder for the file specific debug information. 376 DwarfUnits InfoHolder; 377 378 // Holders for the various debug information flags that we might need to 379 // have exposed. See accessor functions below for description. 380 381 // Whether or not we're emitting info for older versions of gdb on darwin. 382 bool IsDarwinGDBCompat; 383 384 // DWARF5 Experimental Options 385 bool HasDwarfAccelTables; 386 bool HasSplitDwarf; 387 388 // Separated Dwarf Variables 389 // In general these will all be for bits that are left in the 390 // original object file, rather than things that are meant 391 // to be in the .dwo sections. 392 393 // The CU left in the original object file for separated debug info. 394 CompileUnit *SkeletonCU; 395 396 // Used to uniquely define abbreviations for the skeleton emission. 397 FoldingSet<DIEAbbrev> SkeletonAbbrevSet; 398 399 // A list of all the unique abbreviations in use. 400 std::vector<DIEAbbrev *> SkeletonAbbrevs; 401 402 DwarfUnits SkeletonHolder; 403 404private: 405 406 void addScopeVariable(LexicalScope *LS, DbgVariable *Var); 407 408 /// \brief Find abstract variable associated with Var. 409 DbgVariable *findAbstractVariable(DIVariable &Var, DebugLoc Loc); 410 411 /// \brief Find DIE for the given subprogram and attach appropriate 412 /// DW_AT_low_pc and DW_AT_high_pc attributes. If there are global 413 /// variables in this scope then create and insert DIEs for these 414 /// variables. 415 DIE *updateSubprogramScopeDIE(CompileUnit *SPCU, const MDNode *SPNode); 416 417 /// \brief Construct new DW_TAG_lexical_block for this scope and 418 /// attach DW_AT_low_pc/DW_AT_high_pc labels. 419 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 420 421 /// \brief This scope represents inlined body of a function. Construct 422 /// DIE to represent this concrete inlined copy of the function. 423 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 424 425 /// \brief Construct a DIE for this scope. 426 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope); 427 428 /// \brief Emit initial Dwarf sections with a label at the start of each one. 429 void emitSectionLabels(); 430 431 /// \brief Compute the size and offset of a DIE given an incoming Offset. 432 unsigned computeSizeAndOffset(DIE *Die, unsigned Offset); 433 434 /// \brief Compute the size and offset of all the DIEs. 435 void computeSizeAndOffsets(); 436 437 /// \brief Attach DW_AT_inline attribute with inlined subprogram DIEs. 438 void computeInlinedDIEs(); 439 440 /// \brief Collect info for variables that were optimized out. 441 void collectDeadVariables(); 442 443 /// \brief Finish off debug information after all functions have been 444 /// processed. 445 void finalizeModuleInfo(); 446 447 /// \brief Emit labels to close any remaining sections that have been left 448 /// open. 449 void endSections(); 450 451 /// \brief Emit a set of abbreviations to the specific section. 452 void emitAbbrevs(const MCSection *, std::vector<DIEAbbrev*> *); 453 454 /// \brief Emit the debug info section. 455 void emitDebugInfo(); 456 457 /// \brief Emit the abbreviation section. 458 void emitAbbreviations(); 459 460 /// \brief Emit the last address of the section and the end of 461 /// the line matrix. 462 void emitEndOfLineMatrix(unsigned SectionEnd); 463 464 /// \brief Emit visible names into a hashed accelerator table section. 465 void emitAccelNames(); 466 467 /// \brief Emit objective C classes and categories into a hashed 468 /// accelerator table section. 469 void emitAccelObjC(); 470 471 /// \brief Emit namespace dies into a hashed accelerator table. 472 void emitAccelNamespaces(); 473 474 /// \brief Emit type dies into a hashed accelerator table. 475 void emitAccelTypes(); 476 477 /// \brief Emit visible types into a debug pubtypes section. 478 void emitDebugPubTypes(); 479 480 /// \brief Emit visible names into a debug str section. 481 void emitDebugStr(); 482 483 /// \brief Emit visible names into a debug loc section. 484 void emitDebugLoc(); 485 486 /// \brief Emit visible names into a debug aranges section. 487 void emitDebugARanges(); 488 489 /// \brief Emit visible names into a debug ranges section. 490 void emitDebugRanges(); 491 492 /// \brief Emit visible names into a debug macinfo section. 493 void emitDebugMacInfo(); 494 495 /// \brief Emit inline info using custom format. 496 void emitDebugInlineInfo(); 497 498 /// DWARF 5 Experimental Split Dwarf Emitters 499 500 /// \brief Construct the split debug info compile unit for the debug info 501 /// section. 502 CompileUnit *constructSkeletonCU(const MDNode *); 503 504 /// \brief Emit the local split debug info section. 505 void emitSkeletonCU(const MCSection *); 506 507 /// \brief Emit the local split abbreviations. 508 void emitSkeletonAbbrevs(const MCSection *); 509 510 /// \brief Emit the debug info dwo section. 511 void emitDebugInfoDWO(); 512 513 /// \brief Emit the debug abbrev dwo section. 514 void emitDebugAbbrevDWO(); 515 516 /// \brief Create new CompileUnit for the given metadata node with tag 517 /// DW_TAG_compile_unit. 518 CompileUnit *constructCompileUnit(const MDNode *N); 519 520 /// \brief Construct subprogram DIE. 521 void constructSubprogramDIE(CompileUnit *TheCU, const MDNode *N); 522 523 /// \brief Register a source line with debug info. Returns the unique 524 /// label that was emitted and which provides correspondence to the 525 /// source line list. 526 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope, 527 unsigned Flags); 528 529 /// \brief Indentify instructions that are marking the beginning of or 530 /// ending of a scope. 531 void identifyScopeMarkers(); 532 533 /// \brief If Var is an current function argument that add it in 534 /// CurrentFnArguments list. 535 bool addCurrentFnArgument(const MachineFunction *MF, 536 DbgVariable *Var, LexicalScope *Scope); 537 538 /// \brief Populate LexicalScope entries with variables' info. 539 void collectVariableInfo(const MachineFunction *, 540 SmallPtrSet<const MDNode *, 16> &ProcessedVars); 541 542 /// \brief Collect variable information from the side table maintained 543 /// by MMI. 544 void collectVariableInfoFromMMITable(const MachineFunction * MF, 545 SmallPtrSet<const MDNode *, 16> &P); 546 547 /// \brief Ensure that a label will be emitted before MI. 548 void requestLabelBeforeInsn(const MachineInstr *MI) { 549 LabelsBeforeInsn.insert(std::make_pair(MI, (MCSymbol*)0)); 550 } 551 552 /// \brief Return Label preceding the instruction. 553 const MCSymbol *getLabelBeforeInsn(const MachineInstr *MI); 554 555 /// \brief Ensure that a label will be emitted after MI. 556 void requestLabelAfterInsn(const MachineInstr *MI) { 557 LabelsAfterInsn.insert(std::make_pair(MI, (MCSymbol*)0)); 558 } 559 560 /// \brief Return Label immediately following the instruction. 561 const MCSymbol *getLabelAfterInsn(const MachineInstr *MI); 562 563public: 564 //===--------------------------------------------------------------------===// 565 // Main entry points. 566 // 567 DwarfDebug(AsmPrinter *A, Module *M); 568 ~DwarfDebug(); 569 570 /// \brief Collect debug info from named mdnodes such as llvm.dbg.enum 571 /// and llvm.dbg.ty 572 void collectInfoFromNamedMDNodes(const Module *M); 573 574 /// \brief Collect debug info using DebugInfoFinder. 575 /// FIXME - Remove this when DragonEgg switches to DIBuilder. 576 bool collectLegacyDebugInfo(const Module *M); 577 578 /// \brief Emit all Dwarf sections that should come prior to the 579 /// content. 580 void beginModule(); 581 582 /// \brief Emit all Dwarf sections that should come after the content. 583 void endModule(); 584 585 /// \brief Gather pre-function debug information. 586 void beginFunction(const MachineFunction *MF); 587 588 /// \brief Gather and emit post-function debug information. 589 void endFunction(const MachineFunction *MF); 590 591 /// \brief Process beginning of an instruction. 592 void beginInstruction(const MachineInstr *MI); 593 594 /// \brief Process end of an instruction. 595 void endInstruction(const MachineInstr *MI); 596 597 /// \brief Look up the source id with the given directory and source file 598 /// names. If none currently exists, create a new id and insert it in the 599 /// SourceIds map. 600 unsigned getOrCreateSourceID(StringRef DirName, StringRef FullName); 601 602 /// \brief Recursively Emits a debug information entry. 603 void emitDIE(DIE *Die, std::vector<DIEAbbrev *> *Abbrevs); 604 605 /// \brief Returns whether or not to limit some of our debug 606 /// output to the limitations of darwin gdb. 607 bool useDarwinGDBCompat() { return IsDarwinGDBCompat; } 608 609 // Experimental DWARF5 features. 610 611 /// \brief Returns whether or not to emit tables that dwarf consumers can 612 /// use to accelerate lookup. 613 bool useDwarfAccelTables() { return HasDwarfAccelTables; } 614 615 /// \brief Returns whether or not to change the current debug info for the 616 /// split dwarf proposal support. 617 bool useSplitDwarf() { return HasSplitDwarf; } 618}; 619} // End of namespace llvm 620 621#endif 622