aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-01-26 21:22:49 +0000
committerJim Laskey <jlaskey@mac.com>2006-01-26 21:22:49 +0000
commit6e87c0e029c011b9ee61068c607080ca4934378a (patch)
tree461d03d7672523772cac862a4a47d2f4089a5403 /include/llvm/CodeGen/DwarfWriter.h
parent9471c8a93b117d8ac01c4ef1cb9faa583e03dec0 (diff)
downloadexternal_llvm-6e87c0e029c011b9ee61068c607080ca4934378a.tar.gz
external_llvm-6e87c0e029c011b9ee61068c607080ca4934378a.tar.bz2
external_llvm-6e87c0e029c011b9ee61068c607080ca4934378a.zip
Use global information to fill out Dwarf compile units.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index f199dd25fd..aec1077eed 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -32,6 +32,7 @@ namespace llvm {
// Forward declarations.
//
class AsmPrinter;
+ class CompileUnitWrapper;
class DIE;
class DwarfWriter;
class DWContext;
@@ -645,10 +646,10 @@ public:
unsigned Size, unsigned Align);
private:
+
/// NewCompileUnit - Create new compile unit information.
///
- DIE *NewCompileUnit(const std::string &Directory,
- const std::string &SourceName);
+ DIE *DwarfWriter::NewCompileUnit(const CompileUnitWrapper &CompileUnit);
/// EmitInitial - Emit initial Dwarf declarations.
///