blob: 44fef297e27c8c54d7f4a61ed4e29c2535a8ad8b [file] [log] [blame]
Bill Wendling0310d762009-05-15 09:23:25 +00001//===-- 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 "DwarfPrinter.h"
19#include "llvm/CodeGen/AsmPrinter.h"
20#include "llvm/CodeGen/MachineLocation.h"
21#include "llvm/Analysis/DebugInfo.h"
22#include "llvm/Support/raw_ostream.h"
23#include "llvm/ADT/DenseMap.h"
24#include "llvm/ADT/FoldingSet.h"
Bill Wendling6679ee42009-05-18 22:02:36 +000025#include "llvm/ADT/SmallSet.h"
Bill Wendling0310d762009-05-15 09:23:25 +000026#include "llvm/ADT/StringMap.h"
27#include "llvm/ADT/UniqueVector.h"
28#include <string>
29
30namespace llvm {
31
32class CompileUnit;
33class DbgVariable;
34class DbgScope;
35class DbgConcreteScope;
36class MachineFrameInfo;
37class MachineModuleInfo;
Chris Lattneraf76e592009-08-22 20:48:53 +000038class MCAsmInfo;
Bill Wendling0310d762009-05-15 09:23:25 +000039class Timer;
40
41//===----------------------------------------------------------------------===//
42/// SrcLineInfo - This class is used to record source line correspondence.
43///
44class VISIBILITY_HIDDEN SrcLineInfo {
45 unsigned Line; // Source line number.
46 unsigned Column; // Source column.
47 unsigned SourceID; // Source ID number.
48 unsigned LabelID; // Label in code ID number.
49public:
50 SrcLineInfo(unsigned L, unsigned C, unsigned S, unsigned I)
51 : Line(L), Column(C), SourceID(S), LabelID(I) {}
52
53 // Accessors
54 unsigned getLine() const { return Line; }
55 unsigned getColumn() const { return Column; }
56 unsigned getSourceID() const { return SourceID; }
57 unsigned getLabelID() const { return LabelID; }
58};
59
60class VISIBILITY_HIDDEN DwarfDebug : public Dwarf {
61 //===--------------------------------------------------------------------===//
62 // Attributes used to construct specific Dwarf sections.
63 //
64
65 /// CompileUnitMap - A map of global variables representing compile units to
66 /// compile units.
67 DenseMap<Value *, CompileUnit *> CompileUnitMap;
68
69 /// CompileUnits - All the compile units in this module.
70 ///
71 SmallVector<CompileUnit *, 8> CompileUnits;
72
Devang Patel1dbc7712009-06-29 20:45:18 +000073 /// ModuleCU - All DIEs are inserted in ModuleCU.
74 CompileUnit *ModuleCU;
Bill Wendling0310d762009-05-15 09:23:25 +000075
76 /// AbbreviationsSet - Used to uniquely define abbreviations.
77 ///
78 FoldingSet<DIEAbbrev> AbbreviationsSet;
79
80 /// Abbreviations - A list of all the unique abbreviations in use.
81 ///
82 std::vector<DIEAbbrev *> Abbreviations;
83
84 /// DirectoryIdMap - Directory name to directory id map.
85 ///
86 StringMap<unsigned> DirectoryIdMap;
87
88 /// DirectoryNames - A list of directory names.
89 SmallVector<std::string, 8> DirectoryNames;
90
91 /// SourceFileIdMap - Source file name to source file id map.
92 ///
93 StringMap<unsigned> SourceFileIdMap;
94
95 /// SourceFileNames - A list of source file names.
96 SmallVector<std::string, 8> SourceFileNames;
97
98 /// SourceIdMap - Source id map, i.e. pair of directory id and source file
99 /// id mapped to a unique id.
100 DenseMap<std::pair<unsigned, unsigned>, unsigned> SourceIdMap;
101
102 /// SourceIds - Reverse map from source id to directory id + file id pair.
103 ///
104 SmallVector<std::pair<unsigned, unsigned>, 8> SourceIds;
105
106 /// Lines - List of of source line correspondence.
107 std::vector<SrcLineInfo> Lines;
108
109 /// ValuesSet - Used to uniquely define values.
110 ///
111 FoldingSet<DIEValue> ValuesSet;
112
113 /// Values - A list of all the unique values in use.
114 ///
115 std::vector<DIEValue *> Values;
116
117 /// StringPool - A UniqueVector of strings used by indirect references.
118 ///
119 UniqueVector<std::string> StringPool;
120
121 /// SectionMap - Provides a unique id per text section.
122 ///
Chris Lattnera87dea42009-07-31 18:48:30 +0000123 UniqueVector<const MCSection*> SectionMap;
Bill Wendling0310d762009-05-15 09:23:25 +0000124
125 /// SectionSourceLines - Tracks line numbers per text section.
126 ///
127 std::vector<std::vector<SrcLineInfo> > SectionSourceLines;
128
129 /// didInitial - Flag to indicate if initial emission has been done.
130 ///
131 bool didInitial;
132
133 /// shouldEmit - Flag to indicate if debug information should be emitted.
134 ///
135 bool shouldEmit;
136
137 // FunctionDbgScope - Top level scope for the current function.
138 //
139 DbgScope *FunctionDbgScope;
140
141 /// DbgScopeMap - Tracks the scopes in the current function.
Devang Patele4b27562009-08-28 23:24:31 +0000142 DenseMap<MDNode *, DbgScope *> DbgScopeMap;
Bill Wendling0310d762009-05-15 09:23:25 +0000143
144 /// DbgAbstractScopeMap - Tracks abstract instance scopes in the current
145 /// function.
Devang Patele4b27562009-08-28 23:24:31 +0000146 DenseMap<MDNode *, DbgScope *> DbgAbstractScopeMap;
Bill Wendling0310d762009-05-15 09:23:25 +0000147
148 /// DbgConcreteScopeMap - Tracks concrete instance scopes in the current
149 /// function.
Devang Patele4b27562009-08-28 23:24:31 +0000150 DenseMap<MDNode *,
Bill Wendling0310d762009-05-15 09:23:25 +0000151 SmallVector<DbgScope *, 8> > DbgConcreteScopeMap;
152
153 /// InlineInfo - Keep track of inlined functions and their location. This
154 /// information is used to populate debug_inlined section.
Devang Patele4b27562009-08-28 23:24:31 +0000155 DenseMap<MDNode *, SmallVector<unsigned, 4> > InlineInfo;
Bill Wendling0310d762009-05-15 09:23:25 +0000156
Bill Wendling0310d762009-05-15 09:23:25 +0000157 /// AbstractInstanceRootMap - Map of abstract instance roots of inlined
158 /// functions. These are subroutine entries that contain a DW_AT_inline
159 /// attribute.
Devang Patele4b27562009-08-28 23:24:31 +0000160 DenseMap<const MDNode *, DbgScope *> AbstractInstanceRootMap;
Bill Wendling0310d762009-05-15 09:23:25 +0000161
162 /// AbstractInstanceRootList - List of abstract instance roots of inlined
163 /// functions. These are subroutine entries that contain a DW_AT_inline
164 /// attribute.
165 SmallVector<DbgScope *, 32> AbstractInstanceRootList;
166
167 /// LexicalScopeStack - A stack of lexical scopes. The top one is the current
168 /// scope.
169 SmallVector<DbgScope *, 16> LexicalScopeStack;
170
171 /// CompileUnitOffsets - A vector of the offsets of the compile units. This is
172 /// used when calculating the "origin" of a concrete instance of an inlined
173 /// function.
174 DenseMap<CompileUnit *, unsigned> CompileUnitOffsets;
175
176 /// DebugTimer - Timer for the Dwarf debug writer.
177 Timer *DebugTimer;
Devang Patel43da8fb2009-07-13 21:26:33 +0000178
Bill Wendling0310d762009-05-15 09:23:25 +0000179 struct FunctionDebugFrameInfo {
180 unsigned Number;
181 std::vector<MachineMove> Moves;
182
183 FunctionDebugFrameInfo(unsigned Num, const std::vector<MachineMove> &M)
184 : Number(Num), Moves(M) {}
185 };
186
187 std::vector<FunctionDebugFrameInfo> DebugFrames;
188
189 /// getSourceDirectoryAndFileIds - Return the directory and file ids that
190 /// maps to the source id. Source id starts at 1.
191 std::pair<unsigned, unsigned>
192 getSourceDirectoryAndFileIds(unsigned SId) const {
193 return SourceIds[SId-1];
194 }
195
196 /// getNumSourceDirectories - Return the number of source directories in the
197 /// debug info.
198 unsigned getNumSourceDirectories() const {
199 return DirectoryNames.size();
200 }
201
202 /// getSourceDirectoryName - Return the name of the directory corresponding
203 /// to the id.
204 const std::string &getSourceDirectoryName(unsigned Id) const {
205 return DirectoryNames[Id - 1];
206 }
207
208 /// getSourceFileName - Return the name of the source file corresponding
209 /// to the id.
210 const std::string &getSourceFileName(unsigned Id) const {
211 return SourceFileNames[Id - 1];
212 }
213
214 /// getNumSourceIds - Return the number of unique source ids.
215 unsigned getNumSourceIds() const {
216 return SourceIds.size();
217 }
218
219 /// AssignAbbrevNumber - Define a unique number for the abbreviation.
220 ///
221 void AssignAbbrevNumber(DIEAbbrev &Abbrev);
222
Bill Wendling995f80a2009-05-20 23:24:48 +0000223 /// CreateDIEEntry - Creates a new DIEEntry to be a proxy for a debug
224 /// information entry.
225 DIEEntry *CreateDIEEntry(DIE *Entry = NULL);
Bill Wendling0310d762009-05-15 09:23:25 +0000226
227 /// SetDIEEntry - Set a DIEEntry once the debug information entry is defined.
228 ///
229 void SetDIEEntry(DIEEntry *Value, DIE *Entry);
230
231 /// AddUInt - Add an unsigned integer attribute data and value.
232 ///
233 void AddUInt(DIE *Die, unsigned Attribute, unsigned Form, uint64_t Integer);
234
235 /// AddSInt - Add an signed integer attribute data and value.
236 ///
237 void AddSInt(DIE *Die, unsigned Attribute, unsigned Form, int64_t Integer);
238
239 /// AddString - Add a string attribute data and value.
240 ///
241 void AddString(DIE *Die, unsigned Attribute, unsigned Form,
242 const std::string &String);
243
244 /// AddLabel - Add a Dwarf label attribute data and value.
245 ///
246 void AddLabel(DIE *Die, unsigned Attribute, unsigned Form,
247 const DWLabel &Label);
248
249 /// AddObjectLabel - Add an non-Dwarf label attribute data and value.
250 ///
251 void AddObjectLabel(DIE *Die, unsigned Attribute, unsigned Form,
252 const std::string &Label);
253
254 /// AddSectionOffset - Add a section offset label attribute data and value.
255 ///
256 void AddSectionOffset(DIE *Die, unsigned Attribute, unsigned Form,
257 const DWLabel &Label, const DWLabel &Section,
258 bool isEH = false, bool useSet = true);
259
260 /// AddDelta - Add a label delta attribute data and value.
261 ///
262 void AddDelta(DIE *Die, unsigned Attribute, unsigned Form,
263 const DWLabel &Hi, const DWLabel &Lo);
264
265 /// AddDIEEntry - Add a DIE attribute data and value.
266 ///
267 void AddDIEEntry(DIE *Die, unsigned Attribute, unsigned Form, DIE *Entry) {
Bill Wendling995f80a2009-05-20 23:24:48 +0000268 Die->AddValue(Attribute, Form, CreateDIEEntry(Entry));
Bill Wendling0310d762009-05-15 09:23:25 +0000269 }
270
271 /// AddBlock - Add block data.
272 ///
273 void AddBlock(DIE *Die, unsigned Attribute, unsigned Form, DIEBlock *Block);
274
275 /// AddSourceLine - Add location information to specified debug information
276 /// entry.
277 void AddSourceLine(DIE *Die, const DIVariable *V);
278
279 /// AddSourceLine - Add location information to specified debug information
280 /// entry.
281 void AddSourceLine(DIE *Die, const DIGlobal *G);
282
283 void AddSourceLine(DIE *Die, const DIType *Ty);
284
285 /// AddAddress - Add an address attribute to a die based on the location
286 /// provided.
287 void AddAddress(DIE *Die, unsigned Attribute,
288 const MachineLocation &Location);
289
Caroline Ticedc8f6042009-08-31 21:19:37 +0000290 /// AddBlockByrefAddress - Start with the address based on the location
291 /// provided, and generate the DWARF information necessary to find the
292 /// actual Block variable (navigating the Block struct) based on the
293 /// starting location. Add the DWARF information to the die.
294 ///
295 void AddBlockByrefAddress(DbgVariable *&DV, DIE *Die, unsigned Attribute,
296 const MachineLocation &Location);
297
Bill Wendling0310d762009-05-15 09:23:25 +0000298 /// AddType - Add a new type attribute to the specified entity.
299 void AddType(CompileUnit *DW_Unit, DIE *Entity, DIType Ty);
300
301 /// ConstructTypeDIE - Construct basic type die from DIBasicType.
302 void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
303 DIBasicType BTy);
304
305 /// ConstructTypeDIE - Construct derived type die from DIDerivedType.
306 void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
307 DIDerivedType DTy);
308
309 /// ConstructTypeDIE - Construct type DIE from DICompositeType.
310 void ConstructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
311 DICompositeType CTy);
312
313 /// ConstructSubrangeDIE - Construct subrange DIE from DISubrange.
314 void ConstructSubrangeDIE(DIE &Buffer, DISubrange SR, DIE *IndexTy);
315
316 /// ConstructArrayTypeDIE - Construct array type DIE from DICompositeType.
317 void ConstructArrayTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
318 DICompositeType *CTy);
319
320 /// ConstructEnumTypeDIE - Construct enum type DIE from DIEnumerator.
321 DIE *ConstructEnumTypeDIE(CompileUnit *DW_Unit, DIEnumerator *ETy);
322
323 /// CreateGlobalVariableDIE - Create new DIE using GV.
324 DIE *CreateGlobalVariableDIE(CompileUnit *DW_Unit,
325 const DIGlobalVariable &GV);
326
327 /// CreateMemberDIE - Create new member DIE.
328 DIE *CreateMemberDIE(CompileUnit *DW_Unit, const DIDerivedType &DT);
329
330 /// CreateSubprogramDIE - Create new DIE using SP.
331 DIE *CreateSubprogramDIE(CompileUnit *DW_Unit,
332 const DISubprogram &SP,
Bill Wendling6679ee42009-05-18 22:02:36 +0000333 bool IsConstructor = false,
334 bool IsInlined = false);
Bill Wendling0310d762009-05-15 09:23:25 +0000335
336 /// FindCompileUnit - Get the compile unit for the given descriptor.
337 ///
338 CompileUnit &FindCompileUnit(DICompileUnit Unit) const;
339
Bill Wendling995f80a2009-05-20 23:24:48 +0000340 /// CreateDbgScopeVariable - Create a new scope variable.
Bill Wendling0310d762009-05-15 09:23:25 +0000341 ///
Bill Wendling995f80a2009-05-20 23:24:48 +0000342 DIE *CreateDbgScopeVariable(DbgVariable *DV, CompileUnit *Unit);
Bill Wendling0310d762009-05-15 09:23:25 +0000343
344 /// getOrCreateScope - Returns the scope associated with the given descriptor.
345 ///
Devang Patele4b27562009-08-28 23:24:31 +0000346 DbgScope *getOrCreateScope(MDNode *N);
Bill Wendling0310d762009-05-15 09:23:25 +0000347
348 /// ConstructDbgScope - Construct the components of a scope.
349 ///
350 void ConstructDbgScope(DbgScope *ParentScope,
351 unsigned ParentStartID, unsigned ParentEndID,
352 DIE *ParentDie, CompileUnit *Unit);
353
354 /// ConstructFunctionDbgScope - Construct the scope for the subprogram.
355 ///
Bill Wendling17956162009-05-20 23:28:48 +0000356 void ConstructFunctionDbgScope(DbgScope *RootScope,
357 bool AbstractScope = false);
Bill Wendling0310d762009-05-15 09:23:25 +0000358
359 /// ConstructDefaultDbgScope - Construct a default scope for the subprogram.
360 ///
361 void ConstructDefaultDbgScope(MachineFunction *MF);
362
363 /// EmitInitial - Emit initial Dwarf declarations. This is necessary for cc
364 /// tools to recognize the object file contains Dwarf information.
365 void EmitInitial();
366
367 /// EmitDIE - Recusively Emits a debug information entry.
368 ///
369 void EmitDIE(DIE *Die);
370
371 /// SizeAndOffsetDie - Compute the size and offset of a DIE.
372 ///
373 unsigned SizeAndOffsetDie(DIE *Die, unsigned Offset, bool Last);
374
375 /// SizeAndOffsets - Compute the size and offset of all the DIEs.
376 ///
377 void SizeAndOffsets();
378
379 /// EmitDebugInfo / EmitDebugInfoPerCU - Emit the debug info section.
380 ///
381 void EmitDebugInfoPerCU(CompileUnit *Unit);
382
383 void EmitDebugInfo();
384
385 /// EmitAbbreviations - Emit the abbreviation section.
386 ///
387 void EmitAbbreviations() const;
388
389 /// EmitEndOfLineMatrix - Emit the last address of the section and the end of
390 /// the line matrix.
391 ///
392 void EmitEndOfLineMatrix(unsigned SectionEnd);
393
394 /// EmitDebugLines - Emit source line information.
395 ///
396 void EmitDebugLines();
397
398 /// EmitCommonDebugFrame - Emit common frame info into a debug frame section.
399 ///
400 void EmitCommonDebugFrame();
401
402 /// EmitFunctionDebugFrame - Emit per function frame info into a debug frame
403 /// section.
404 void EmitFunctionDebugFrame(const FunctionDebugFrameInfo &DebugFrameInfo);
405
406 void EmitDebugPubNamesPerCU(CompileUnit *Unit);
407
408 /// EmitDebugPubNames - Emit visible names into a debug pubnames section.
409 ///
410 void EmitDebugPubNames();
411
412 /// EmitDebugStr - Emit visible names into a debug str section.
413 ///
414 void EmitDebugStr();
415
416 /// EmitDebugLoc - Emit visible names into a debug loc section.
417 ///
418 void EmitDebugLoc();
419
420 /// EmitDebugARanges - Emit visible names into a debug aranges section.
421 ///
422 void EmitDebugARanges();
423
424 /// EmitDebugRanges - Emit visible names into a debug ranges section.
425 ///
426 void EmitDebugRanges();
427
428 /// EmitDebugMacInfo - Emit visible names into a debug macinfo section.
429 ///
430 void EmitDebugMacInfo();
431
432 /// EmitDebugInlineInfo - Emit inline info using following format.
433 /// Section Header:
434 /// 1. length of section
435 /// 2. Dwarf version number
436 /// 3. address size.
437 ///
438 /// Entries (one "entry" for each function that was inlined):
439 ///
440 /// 1. offset into __debug_str section for MIPS linkage name, if exists;
441 /// otherwise offset into __debug_str for regular function name.
442 /// 2. offset into __debug_str section for regular function name.
443 /// 3. an unsigned LEB128 number indicating the number of distinct inlining
444 /// instances for the function.
445 ///
446 /// The rest of the entry consists of a {die_offset, low_pc} pair for each
447 /// inlined instance; the die_offset points to the inlined_subroutine die in
448 /// the __debug_info section, and the low_pc is the starting address for the
449 /// inlining instance.
450 void EmitDebugInlineInfo();
Bill Wendlingf0fb9872009-05-20 23:19:06 +0000451
452 /// GetOrCreateSourceID - Look up the source id with the given directory and
453 /// source file names. If none currently exists, create a new id and insert it
454 /// in the SourceIds map. This can update DirectoryNames and SourceFileNames maps
455 /// as well.
456 unsigned GetOrCreateSourceID(const std::string &DirName,
457 const std::string &FileName);
458
Devang Patele4b27562009-08-28 23:24:31 +0000459 void ConstructCompileUnit(MDNode *N);
Bill Wendlingf0fb9872009-05-20 23:19:06 +0000460
Devang Patele4b27562009-08-28 23:24:31 +0000461 void ConstructGlobalVariableDIE(MDNode *N);
Bill Wendlingf0fb9872009-05-20 23:19:06 +0000462
Devang Patele4b27562009-08-28 23:24:31 +0000463 void ConstructSubprogram(MDNode *N);
Bill Wendlingf0fb9872009-05-20 23:19:06 +0000464
Caroline Ticedc8f6042009-08-31 21:19:37 +0000465 /// Find the type the programmer originally declared the variable to be
466 /// and return that type.
467 ///
468 DIType GetBlockByrefType(DIType Ty, std::string Name);
469
Bill Wendling0310d762009-05-15 09:23:25 +0000470public:
471 //===--------------------------------------------------------------------===//
472 // Main entry points.
473 //
Chris Lattneraf76e592009-08-22 20:48:53 +0000474 DwarfDebug(raw_ostream &OS, AsmPrinter *A, const MCAsmInfo *T);
Bill Wendling0310d762009-05-15 09:23:25 +0000475 virtual ~DwarfDebug();
476
477 /// ShouldEmitDwarfDebug - Returns true if Dwarf debugging declarations should
478 /// be emitted.
479 bool ShouldEmitDwarfDebug() const { return shouldEmit; }
480
Bill Wendling0310d762009-05-15 09:23:25 +0000481 /// BeginModule - Emit all Dwarf sections that should come prior to the
482 /// content.
Devang Patel208622d2009-06-25 22:36:02 +0000483 void BeginModule(Module *M, MachineModuleInfo *MMI);
Bill Wendling0310d762009-05-15 09:23:25 +0000484
485 /// EndModule - Emit all Dwarf sections that should come after the content.
486 ///
487 void EndModule();
488
489 /// BeginFunction - Gather pre-function debug information. Assumes being
490 /// emitted immediately after the function entry point.
491 void BeginFunction(MachineFunction *MF);
492
493 /// EndFunction - Gather and emit post-function debug information.
494 ///
495 void EndFunction(MachineFunction *MF);
496
497 /// RecordSourceLine - Records location information and associates it with a
498 /// label. Returns a unique label ID used to generate a label and provide
499 /// correspondence to the source line list.
500 unsigned RecordSourceLine(Value *V, unsigned Line, unsigned Col);
501
502 /// RecordSourceLine - Records location information and associates it with a
503 /// label. Returns a unique label ID used to generate a label and provide
504 /// correspondence to the source line list.
505 unsigned RecordSourceLine(unsigned Line, unsigned Col, DICompileUnit CU);
506
507 /// getRecordSourceLineCount - Return the number of source lines in the debug
508 /// info.
509 unsigned getRecordSourceLineCount() const {
510 return Lines.size();
511 }
512
513 /// getOrCreateSourceID - Public version of GetOrCreateSourceID. This can be
514 /// timed. Look up the source id with the given directory and source file
515 /// names. If none currently exists, create a new id and insert it in the
516 /// SourceIds map. This can update DirectoryNames and SourceFileNames maps as
517 /// well.
518 unsigned getOrCreateSourceID(const std::string &DirName,
519 const std::string &FileName);
520
521 /// RecordRegionStart - Indicate the start of a region.
Devang Patele4b27562009-08-28 23:24:31 +0000522 unsigned RecordRegionStart(MDNode *N);
Bill Wendling0310d762009-05-15 09:23:25 +0000523
524 /// RecordRegionEnd - Indicate the end of a region.
Devang Patele4b27562009-08-28 23:24:31 +0000525 unsigned RecordRegionEnd(MDNode *N);
Bill Wendling0310d762009-05-15 09:23:25 +0000526
527 /// RecordVariable - Indicate the declaration of a local variable.
Devang Patele4b27562009-08-28 23:24:31 +0000528 void RecordVariable(MDNode *N, unsigned FrameIndex);
Bill Wendling0310d762009-05-15 09:23:25 +0000529
530 //// RecordInlinedFnStart - Indicate the start of inlined subroutine.
531 unsigned RecordInlinedFnStart(DISubprogram &SP, DICompileUnit CU,
532 unsigned Line, unsigned Col);
533
534 /// RecordInlinedFnEnd - Indicate the end of inlined subroutine.
535 unsigned RecordInlinedFnEnd(DISubprogram &SP);
536
Bill Wendling0310d762009-05-15 09:23:25 +0000537};
538
539} // End of namespace llvm
540
541#endif