blob: c5ec49503c6bca83d743c4df51dcb81112136adb [file] [log] [blame]
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +00001//===- llvm/CodeGen/DwarfCompileUnit.h - Dwarf Compile Unit -----*- C++ -*-===//
David Blaikie37c52312014-10-04 15:49:50 +00002//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
David Blaikie37c52312014-10-04 15:49:50 +00006//
7//===----------------------------------------------------------------------===//
8//
9// This file contains support for writing dwarf compile unit.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFCOMPILEUNIT_H
14#define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFCOMPILEUNIT_H
15
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000016#include "DwarfDebug.h"
David Blaikie37c52312014-10-04 15:49:50 +000017#include "DwarfUnit.h"
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000018#include "llvm/ADT/ArrayRef.h"
19#include "llvm/ADT/DenseMap.h"
20#include "llvm/ADT/SmallVector.h"
21#include "llvm/ADT/StringMap.h"
22#include "llvm/ADT/StringRef.h"
Zachary Turner264b5d92017-06-07 03:48:56 +000023#include "llvm/BinaryFormat/Dwarf.h"
Yonghong Song61b189e2018-12-18 23:10:17 +000024#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000025#include "llvm/CodeGen/DIE.h"
26#include "llvm/CodeGen/LexicalScopes.h"
27#include "llvm/IR/DebugInfoMetadata.h"
28#include "llvm/Support/Casting.h"
29#include <algorithm>
30#include <cassert>
31#include <cstdint>
32#include <memory>
David Blaikie37c52312014-10-04 15:49:50 +000033
34namespace llvm {
35
36class AsmPrinter;
David Blaikie37c52312014-10-04 15:49:50 +000037class DwarfFile;
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000038class GlobalVariable;
39class MCExpr;
David Blaikie37c52312014-10-04 15:49:50 +000040class MCSymbol;
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000041class MDNode;
David Blaikie37c52312014-10-04 15:49:50 +000042
David Blaikiec0bb21f2017-04-22 02:18:00 +000043class DwarfCompileUnit final : public DwarfUnit {
Peter Collingbourne7c384cc2016-02-11 19:57:46 +000044 /// A numeric ID unique among all CUs in the module
45 unsigned UniqueID;
David Blaikiec4af8bf2018-10-20 07:36:39 +000046 bool HasRangeLists = false;
Peter Collingbourne7c384cc2016-02-11 19:57:46 +000047
David Blaikie37c52312014-10-04 15:49:50 +000048 /// The attribute index of DW_AT_stmt_list in the compile unit DIE, avoiding
49 /// the need to search for it in applyStmtList.
Duncan P. N. Exon Smith4fb1f9c2015-06-25 23:46:41 +000050 DIE::value_iterator StmtListValue;
David Blaikie37c52312014-10-04 15:49:50 +000051
David Blaikie7cbf58a2014-11-01 18:18:07 +000052 /// Skeleton unit associated with this unit.
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000053 DwarfCompileUnit *Skeleton = nullptr;
David Blaikie7cbf58a2014-11-01 18:18:07 +000054
David Blaikief4bdc312014-11-02 01:21:40 +000055 /// The start of the unit within its section.
56 MCSymbol *LabelBegin;
57
Amjad Aboud8bbce8a2016-02-01 14:09:41 +000058 /// The start of the unit macro info within macro section.
59 MCSymbol *MacroLabelBegin;
60
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000061 using ImportedEntityList = SmallVector<const MDNode *, 8>;
62 using ImportedEntityMap = DenseMap<const MDNode *, ImportedEntityList>;
Ivan Krasin298639a2015-10-26 21:36:35 +000063
Amjad Aboud72da9392016-04-30 01:44:07 +000064 ImportedEntityMap ImportedEntities;
Ivan Krasin298639a2015-10-26 21:36:35 +000065
David Blaikie192b45c2014-11-02 06:16:39 +000066 /// GlobalNames - A map of globally visible named entities for this unit.
67 StringMap<const DIE *> GlobalNames;
68
69 /// GlobalTypes - A map of globally visible types for this unit.
70 StringMap<const DIE *> GlobalTypes;
71
David Blaikiebc532b42014-11-03 16:40:43 +000072 // List of ranges for a given compile unit.
David Blaikie5b02a192014-11-03 23:10:59 +000073 SmallVector<RangeSpan, 2> CURanges;
David Blaikiebc532b42014-11-03 16:40:43 +000074
David Blaikiece343492014-11-03 21:15:30 +000075 // The base address of this unit, if any. Used for relative references in
76 // ranges/locs.
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +000077 const MCSymbol *BaseAddress = nullptr;
David Blaikiece343492014-11-03 21:15:30 +000078
David Blaikie488393f2017-05-12 01:13:45 +000079 DenseMap<const MDNode *, DIE *> AbstractSPDies;
Hsiangkai Wang2532ac82018-08-17 15:22:04 +000080 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> AbstractEntities;
David Blaikie488393f2017-05-12 01:13:45 +000081
Paul Robinson543c0e12018-05-22 17:27:31 +000082 /// DWO ID for correlating skeleton and split units.
83 uint64_t DWOId = 0;
84
Adrian Prantl5f8f34e42018-05-01 15:54:18 +000085 /// Construct a DIE for the given DbgVariable without initializing the
David Blaikieee7df552014-10-09 17:56:36 +000086 /// DbgVariable's DIE reference.
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +000087 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
David Blaikieee7df552014-10-09 17:56:36 +000088
David Blaikiecafd9622014-11-02 08:51:37 +000089 bool isDwoUnit() const override;
90
David Blaikie488393f2017-05-12 01:13:45 +000091 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
92 if (isDwoUnit() && !DD->shareAcrossDWOCUs())
93 return AbstractSPDies;
94 return DU->getAbstractSPDies();
95 }
96
Hsiangkai Wang2532ac82018-08-17 15:22:04 +000097 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> &getAbstractEntities() {
David Blaikie488393f2017-05-12 01:13:45 +000098 if (isDwoUnit() && !DD->shareAcrossDWOCUs())
Hsiangkai Wang2532ac82018-08-17 15:22:04 +000099 return AbstractEntities;
100 return DU->getAbstractEntities();
David Blaikie488393f2017-05-12 01:13:45 +0000101 }
102
David Blaikie37c52312014-10-04 15:49:50 +0000103public:
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +0000104 DwarfCompileUnit(unsigned UID, const DICompileUnit *Node, AsmPrinter *A,
David Blaikie37c52312014-10-04 15:49:50 +0000105 DwarfDebug *DW, DwarfFile *DWU);
106
David Blaikiec4af8bf2018-10-20 07:36:39 +0000107 bool hasRangeLists() const { return HasRangeLists; }
Peter Collingbourne7c384cc2016-02-11 19:57:46 +0000108 unsigned getUniqueID() const { return UniqueID; }
Peter Collingbourne7c384cc2016-02-11 19:57:46 +0000109
David Blaikiea33cd6a2014-11-01 00:50:34 +0000110 DwarfCompileUnit *getSkeleton() const {
David Blaikiea5437b62014-11-01 19:26:05 +0000111 return Skeleton;
David Blaikiea33cd6a2014-11-01 00:50:34 +0000112 }
113
David Blaikieb3cee2f2017-05-25 18:50:28 +0000114 bool includeMinimalInlineScopes() const;
115
Rafael Espindola063d7252015-03-10 16:58:10 +0000116 void initStmtList();
David Blaikie37c52312014-10-04 15:49:50 +0000117
118 /// Apply the DW_AT_stmt_list from this compile unit to the specified DIE.
119 void applyStmtList(DIE &D);
120
Adrian Prantlbceaaa92016-12-20 02:09:43 +0000121 /// A pair of GlobalVariable and DIExpression.
122 struct GlobalExpr {
123 const GlobalVariable *Var;
124 const DIExpression *Expr;
125 };
126
127 /// Get or create global variable DIE.
128 DIE *
129 getOrCreateGlobalVariableDIE(const DIGlobalVariable *GV,
130 ArrayRef<GlobalExpr> GlobalExprs);
David Blaikie37c52312014-10-04 15:49:50 +0000131
132 /// addLabelAddress - Add a dwarf label attribute data and value using
133 /// either DW_FORM_addr or DW_FORM_GNU_addr_index.
134 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
135 const MCSymbol *Label);
136
137 /// addLocalLabelAddress - Add a dwarf label attribute data and value using
138 /// DW_FORM_addr only.
139 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute,
140 const MCSymbol *Label);
141
142 DwarfCompileUnit &getCU() override { return *this; }
143
Paul Robinson612e89d2018-01-12 19:17:50 +0000144 unsigned getOrCreateSourceID(const DIFile *File) override;
David Blaikie37c52312014-10-04 15:49:50 +0000145
Amjad Aboud72da9392016-04-30 01:44:07 +0000146 void addImportedEntity(const DIImportedEntity* IE) {
147 DIScope *Scope = IE->getScope();
Amjad Abouda5ba9912016-04-21 16:58:49 +0000148 assert(Scope && "Invalid Scope encoding!");
149 if (!isa<DILocalScope>(Scope))
150 // No need to add imported enities that are not local declaration.
151 return;
152
153 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope();
Amjad Aboud72da9392016-04-30 01:44:07 +0000154 ImportedEntities[LocalScope].push_back(IE);
Ivan Krasin298639a2015-10-26 21:36:35 +0000155 }
156
David Blaikie37c52312014-10-04 15:49:50 +0000157 /// addRange - Add an address range to the list of ranges for this unit.
158 void addRange(RangeSpan Range);
David Blaikie14499a72014-10-04 15:58:47 +0000159
160 void attachLowHighPC(DIE &D, const MCSymbol *Begin, const MCSymbol *End);
David Blaikiecda2aa82014-10-04 16:24:00 +0000161
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000162 /// Find DIE for the given subprogram and attach appropriate
David Blaikiecda2aa82014-10-04 16:24:00 +0000163 /// DW_AT_low_pc and DW_AT_high_pc attributes. If there are global
164 /// variables in this scope then create and insert DIEs for these
165 /// variables.
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +0000166 DIE &updateSubprogramScopeDIE(const DISubprogram *SP);
David Blaikie9c65b132014-10-08 22:20:02 +0000167
168 void constructScopeDIE(LexicalScope *Scope,
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000169 SmallVectorImpl<DIE *> &FinalChildren);
David Blaikie52400202014-10-09 00:11:39 +0000170
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000171 /// A helper function to construct a RangeSpanList for a given
David Blaikie52400202014-10-09 00:11:39 +0000172 /// lexical scope.
David Blaikie5b02a192014-11-03 23:10:59 +0000173 void addScopeRangeList(DIE &ScopeDIE, SmallVector<RangeSpan, 2> Range);
174
175 void attachRangesOrLowHighPC(DIE &D, SmallVector<RangeSpan, 2> Ranges);
David Blaikiede123752014-10-09 00:21:42 +0000176
177 void attachRangesOrLowHighPC(DIE &D,
178 const SmallVectorImpl<InsnRange> &Ranges);
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +0000179
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000180 /// This scope represents inlined body of a function. Construct
David Blaikie01b48a82014-10-09 16:50:53 +0000181 /// DIE to represent this concrete inlined copy of the function.
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000182 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
David Blaikie0fbf8bd2014-10-09 17:08:42 +0000183
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000184 /// Construct new DW_TAG_lexical_block for this scope and
David Blaikie0fbf8bd2014-10-09 17:08:42 +0000185 /// attach DW_AT_low_pc/DW_AT_high_pc labels.
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000186 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
David Blaikieee7df552014-10-09 17:56:36 +0000187
188 /// constructVariableDIE - Construct a DIE for the given DbgVariable.
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000189 DIE *constructVariableDIE(DbgVariable &DV, bool Abstract = false);
David Blaikie4a1a44e2014-10-09 17:56:39 +0000190
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000191 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
192 DIE *&ObjectPointer);
David Blaikie8b2fdb82014-10-09 18:24:28 +0000193
Hsiangkai Wang2532ac82018-08-17 15:22:04 +0000194 /// Construct a DIE for the given DbgLabel.
195 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
196
David Blaikie8b2fdb82014-10-09 18:24:28 +0000197 /// A helper function to create children of a Scope DIE.
198 DIE *createScopeChildrenDIE(LexicalScope *Scope,
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000199 SmallVectorImpl<DIE *> &Children,
David Blaikie2195e132017-07-27 00:06:53 +0000200 bool *HasNonScopeChildren = nullptr);
David Blaikie1d072342014-10-09 20:21:36 +0000201
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000202 /// Construct a DIE for this subprogram scope.
Vedant Kumar5931b4e2018-10-05 20:37:17 +0000203 DIE &constructSubprogramScopeDIE(const DISubprogram *Sub,
204 LexicalScope *Scope);
David Blaikie78b65b62014-10-09 20:26:15 +0000205
206 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
David Blaikie58410f22014-10-10 06:39:26 +0000207
David Blaikie49be5b32014-10-31 21:57:02 +0000208 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
David Blaikie4191cbc2014-10-10 06:39:29 +0000209
Vedant Kumar5931b4e2018-10-05 20:37:17 +0000210 /// Construct a call site entry DIE describing a call within \p Scope to a
211 /// callee described by \p CalleeSP. \p IsTail specifies whether the call is
Vedant Kumar74533bd2018-10-22 21:44:21 +0000212 /// a tail call. \p PCOffset must be non-zero for non-tail calls or be the
213 /// function-local offset to PC value after the call instruction.
Vedant Kumar5931b4e2018-10-05 20:37:17 +0000214 DIE &constructCallSiteEntryDIE(DIE &ScopeDIE, const DISubprogram &CalleeSP,
Vedant Kumar74533bd2018-10-22 21:44:21 +0000215 bool IsTail, const MCExpr *PCOffset);
Vedant Kumar5931b4e2018-10-05 20:37:17 +0000216
Adrian Prantl5f8f34e42018-05-01 15:54:18 +0000217 /// Construct import_module DIE.
Duncan P. N. Exon Smith827200c2015-06-25 23:52:10 +0000218 DIE *constructImportedEntityDIE(const DIImportedEntity *Module);
Frederic Riss987fe222014-10-24 21:31:09 +0000219
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +0000220 void finishSubprogramDefinition(const DISubprogram *SP);
Hsiangkai Wang2532ac82018-08-17 15:22:04 +0000221 void finishEntityDefinition(const DbgEntity *Entity);
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +0000222
David Blaikie488393f2017-05-12 01:13:45 +0000223 /// Find abstract variable associated with Var.
Hsiangkai Wang760c1ab2018-09-06 02:22:06 +0000224 using InlinedEntity = DbgValueHistoryMap::InlinedEntity;
Hsiangkai Wang2532ac82018-08-17 15:22:04 +0000225 DbgEntity *getExistingAbstractEntity(const DINode *Node);
226 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
David Blaikie1d96cc22014-10-31 22:30:30 +0000227
David Blaikie7cbf58a2014-11-01 18:18:07 +0000228 /// Set the skeleton unit associated with this unit.
David Blaikiea5437b62014-11-01 19:26:05 +0000229 void setSkeleton(DwarfCompileUnit &Skel) { Skeleton = &Skel; }
David Blaikiea34568b2014-11-01 20:06:28 +0000230
Paul Robinson543c0e12018-05-22 17:27:31 +0000231 unsigned getHeaderSize() const override {
232 // DWARF v5 added the DWO ID to the header for split/skeleton units.
233 unsigned DWOIdSize =
234 DD->getDwarfVersion() >= 5 && DD->useSplitDwarf() ? sizeof(uint64_t)
235 : 0;
236 return DwarfUnit::getHeaderSize() + DWOIdSize;
237 }
David Blaikie983bfea2014-11-01 23:07:14 +0000238 unsigned getLength() {
239 return sizeof(uint32_t) + // Length field
Greg Clayton35630c32016-12-01 18:56:29 +0000240 getHeaderSize() + getUnitDie().getSize();
David Blaikie983bfea2014-11-01 23:07:14 +0000241 }
David Blaikieae57e662014-11-01 23:59:23 +0000242
Rafael Espindola063d7252015-03-10 16:58:10 +0000243 void emitHeader(bool UseOffsets) override;
David Blaikief4bdc312014-11-02 01:21:40 +0000244
David Blaikie61c127c2018-12-14 22:34:03 +0000245 /// Add the DW_AT_addr_base attribute to the unit DIE.
246 void addAddrTableBase();
247
David Blaikief4bdc312014-11-02 01:21:40 +0000248 MCSymbol *getLabelBegin() const {
David Blaikiee40caae2016-12-01 21:59:09 +0000249 assert(getSection());
David Blaikief4bdc312014-11-02 01:21:40 +0000250 return LabelBegin;
251 }
David Blaikie192b45c2014-11-02 06:16:39 +0000252
Amjad Aboud8bbce8a2016-02-01 14:09:41 +0000253 MCSymbol *getMacroLabelBegin() const {
254 return MacroLabelBegin;
255 }
256
David Blaikie192b45c2014-11-02 06:16:39 +0000257 /// Add a new global name to the compile unit.
David Blaikiea0e3c752017-02-03 00:44:18 +0000258 void addGlobalName(StringRef Name, const DIE &Die,
259 const DIScope *Context) override;
260
261 /// Add a new global name present in a type unit to this compile unit.
262 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context);
David Blaikie192b45c2014-11-02 06:16:39 +0000263
264 /// Add a new global type to the compile unit.
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +0000265 void addGlobalType(const DIType *Ty, const DIE &Die,
266 const DIScope *Context) override;
David Blaikie192b45c2014-11-02 06:16:39 +0000267
David Blaikiea0e3c752017-02-03 00:44:18 +0000268 /// Add a new global type present in a type unit to this compile unit.
269 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
270
David Blaikie192b45c2014-11-02 06:16:39 +0000271 const StringMap<const DIE *> &getGlobalNames() const { return GlobalNames; }
272 const StringMap<const DIE *> &getGlobalTypes() const { return GlobalTypes; }
David Blaikie7d48be22014-11-02 06:37:23 +0000273
274 /// Add DW_AT_location attribute for a DbgVariable based on provided
275 /// MachineLocation.
276 void addVariableAddress(const DbgVariable &DV, DIE &Die,
277 MachineLocation Location);
David Blaikief7435ee2014-11-02 06:46:40 +0000278 /// Add an address attribute to a die based on the location provided.
279 void addAddress(DIE &Die, dwarf::Attribute Attribute,
Adrian Prantl5883af32015-01-19 17:57:29 +0000280 const MachineLocation &Location);
David Blaikie77895fb2014-11-02 06:58:44 +0000281
282 /// Start with the address based on the location provided, and generate the
283 /// DWARF information necessary to find the actual variable (navigating the
284 /// extra location information encoded in the type) based on the starting
285 /// location. Add the DWARF information to the die.
286 void addComplexAddress(const DbgVariable &DV, DIE &Die,
287 dwarf::Attribute Attribute,
288 const MachineLocation &Location);
David Blaikie4bc08812014-11-02 07:03:19 +0000289
290 /// Add a Dwarf loclistptr attribute data and value.
291 void addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index);
David Blaikie02a63332014-11-02 07:06:51 +0000292 void applyVariableAttributes(const DbgVariable &Var, DIE &VariableDie);
David Blaikie97802082014-11-02 07:11:55 +0000293
294 /// Add a Dwarf expression attribute data and value.
295 void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr);
David Blaikie3363a572014-11-02 08:09:09 +0000296
Vedant Kumar74533bd2018-10-22 21:44:21 +0000297 /// Add an attribute containing an address expression to \p Die.
298 void addAddressExpr(DIE &Die, dwarf::Attribute Attribute, const MCExpr *Expr);
299
Duncan P. N. Exon Smitha9308c42015-04-29 16:38:44 +0000300 void applySubprogramAttributesToDefinition(const DISubprogram *SP,
Duncan P. N. Exon Smith2fbe1352015-04-20 22:10:08 +0000301 DIE &SPDie);
David Blaikie89a26f02014-11-03 02:41:49 +0000302
Hsiangkai Wang2532ac82018-08-17 15:22:04 +0000303 void applyLabelAttributes(const DbgLabel &Label, DIE &LabelDie);
304
David Blaikiebc532b42014-11-03 16:40:43 +0000305 /// getRanges - Get the list of ranges for this unit.
306 const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; }
David Blaikie5b02a192014-11-03 23:10:59 +0000307 SmallVector<RangeSpan, 2> takeRanges() { return std::move(CURanges); }
David Blaikiece343492014-11-03 21:15:30 +0000308
309 void setBaseAddress(const MCSymbol *Base) { BaseAddress = Base; }
310 const MCSymbol *getBaseAddress() const { return BaseAddress; }
Peter Collingbourneb52e2362017-09-12 21:50:41 +0000311
Paul Robinson543c0e12018-05-22 17:27:31 +0000312 uint64_t getDWOId() const { return DWOId; }
313 void setDWOId(uint64_t DwoId) { DWOId = DwoId; }
314
Peter Collingbourneb52e2362017-09-12 21:50:41 +0000315 bool hasDwarfPubSections() const;
David Blaikie37c52312014-10-04 15:49:50 +0000316};
317
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +0000318} // end namespace llvm
David Blaikie37c52312014-10-04 15:49:50 +0000319
Eugene Zelenko6e07bfd2017-08-17 21:26:39 +0000320#endif // LLVM_LIB_CODEGEN_ASMPRINTER_DWARFCOMPILEUNIT_H