diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-01-22 17:49:59 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-01-22 17:49:59 +0000 |
| commit | e7d473461ea2ca1cfd905efa481804fd9b52a072 (patch) | |
| tree | 03ac58297fb761ea3a281be8571d6e7f349d41fe /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
| parent | 7cd58934a8c8b4ef61d0c31ddef1b4807be6f53a (diff) | |
| download | bcm5719-llvm-e7d473461ea2ca1cfd905efa481804fd9b52a072.tar.gz bcm5719-llvm-e7d473461ea2ca1cfd905efa481804fd9b52a072.zip | |
Revert "PR21408: Workaround the appearance of duplicate variables due to problems when inlining two calls to the same function from the same call site."
The underlying bug has been fixed in r226736 so there's no need to
workaround this anymore.
This reverts commit r220923.
llvm-svn: 226842
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index 549abf88324..408f683301d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -168,12 +168,7 @@ void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { // A later indexed parameter has been found, insert immediately before it. if (CurNum > ArgNum) break; - // FIXME: There are still some cases where two inlined functions are - // conflated together (two calls to the same function at the same - // location (eg: via a macro, or without column info, etc)) and then - // their arguments are conflated as well. - assert((LS->getParent() || CurNum != ArgNum) && - "Duplicate argument for top level (non-inlined) function"); + assert(CurNum != ArgNum && "Duplicate argument"); ++I; } Vars.insert(I, Var); |

