summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-03-24 20:30:50 +0000
committerDevang Patel <dpatel@apple.com>2011-03-24 20:30:50 +0000
commite01b75cb89edb0d204efd9639adc62347f0db056 (patch)
tree0487fff203298b4fa2c698d61614cfe8af6fa56d /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent9b281e22145d1970186f8293bd02e7a88b3243a7 (diff)
downloadbcm5719-llvm-e01b75cb89edb0d204efd9639adc62347f0db056.tar.gz
bcm5719-llvm-e01b75cb89edb0d204efd9639adc62347f0db056.zip
Keep track of directory namd and fIx regression caused by Rafael's patch r119613.
A better approach would be to move source id handling inside MC. llvm-svn: 128233
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index e59ab5bd821..207542dfd3f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -518,7 +518,7 @@ private:
/// GetOrCreateSourceID - Look up the source id with the given directory and
/// source file names. If none currently exists, create a new id and insert it
/// in the SourceIds map.
- unsigned GetOrCreateSourceID(StringRef FullName);
+ unsigned GetOrCreateSourceID(StringRef DirName, StringRef FullName);
/// constructCompileUnit - Create new CompileUnit for the given
/// metadata node with tag DW_TAG_compile_unit.
OpenPOWER on IntegriCloud