diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-17 21:06:59 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-17 21:06:59 +0000 |
commit | 446c619f37349815a3ccfb703b1ac08684279ae1 (patch) | |
tree | 81fcb41ac0811ff23b31e956ef3abfb90055b9e4 /lib/CodeGen/CGDebugInfo.h | |
parent | 75a97cb31903061b96579020905b459fdeb37a49 (diff) |
Appropriately set file name and directory name in debug info compile units.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index e9529c4565..1798165dfa 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -39,7 +39,7 @@ class CGDebugInfo { SourceLocation CurLoc, PrevLoc; /// CompileUnitCache - Cache of previously constructed CompileUnits. - llvm::DenseMap<const FileEntry*, llvm::DICompileUnit> CompileUnitCache; + llvm::DenseMap<unsigned, llvm::DICompileUnit> CompileUnitCache; /// TypeCache - Cache of previously constructed Types. // FIXME: Eliminate this map. Be careful of iterator invalidation. |