summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-11-25 17:36:49 +0000
committerDevang Patel <dpatel@apple.com>2009-11-25 17:36:49 +0000
commit2d9caf9fe5071aefa0a1720f6612a1b9fc9c794c (patch)
tree4f2674b09d908fbac4e64ba2d7a5064f69c7113f /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent120f729ecafcaaacbea610655cd80fdd92d78bd7 (diff)
downloadbcm5719-llvm-2d9caf9fe5071aefa0a1720f6612a1b9fc9c794c.tar.gz
bcm5719-llvm-2d9caf9fe5071aefa0a1720f6612a1b9fc9c794c.zip
Use StringRef (again) in DebugInfo interface.
llvm-svn: 89866
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 19583b84c5f..679d9b9d1a0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -486,8 +486,7 @@ class DwarfDebug : public Dwarf {
/// source file names. If none currently exists, create a new id and insert it
/// in the SourceIds map. This can update DirectoryNames and SourceFileNames maps
/// as well.
- unsigned GetOrCreateSourceID(const char *DirName,
- const char *FileName);
+ unsigned GetOrCreateSourceID(StringRef DirName, StringRef FileName);
void constructCompileUnit(MDNode *N);
OpenPOWER on IntegriCloud