search for: dbgvariabl

Displaying 16 results from an estimated 16 matches for "dbgvariabl".

Did you mean: dbgvariable
2017 May 09
2
lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
David, Dean, all, The bots got red today with assertion failures in llvm::DbgVariable::addMMIEntry: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio I did not find the offender yet. Any ideas? clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm:...
2017 May 09
2
lib/CodeGen/AsmPrinter/DwarfDebug.h:131: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `V.Var == Var && "conflicting variable"' failed.
...9% odds it was r302483. Let's revert and debug it tomorrow. > > On Mon, May 8, 2017 at 6:20 PM, Kostya Serebryany via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> David, Dean, all, >> >> The bots got red today with assertion failures in >> llvm::DbgVariable::addMMIEntry: >> http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/ >> builds/1816/steps/check-msan%20in%20gcc%20build/logs/stdio >> I did not find the offender yet. Any ideas? >> >> clang-5.0: /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/lib/Co...
2017 Sep 19
3
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...ther that is the right approach. Cheers, Björn diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 499780a173b..308b6bd2b9f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr> DbgVariable::getFrameIndexExprs() const { return A.Expr->getFragmentInfo()->OffsetInBits < B.Expr->getFragmentInfo()->OffsetInBits; }); + + auto last = std::unique(FrameIndexExprs.begin(), FrameIndexExprs.end(),...
2018 Mar 14
3
lld/lto/win32 crash on DIE code
...returns null. callstack is: llc.exe!llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode * TyNode) Line 718 C++ llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty, llvm::dwarf::Attribute Attribute) Line 768 C++ llvm::DwarfCompileUnit::applyVariableAttributes(const llvm::DbgVariable & Var, llvm::DIE & VariableDie) Line 897 C++ llvm::DwarfCompileUnit::finishVariableDefinition(const llvm::DbgVariable & Var) Line 725 C++ llvm::DwarfDebug::finishVariableDefinitions() Line 655 C++ llvm::DwarfDebug::finalizeModuleInfo() Line 677 C++ llvm::DwarfDebug::endModule() Line...
2018 Mar 16
0
lld/lto/win32 crash on DIE code
...null. callstack is: llc.exe!llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode * TyNode) Line 718 C++ llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty, llvm::dwarf::Attribute Attribute) Line 768 C++ llvm::DwarfCompileUnit::applyVariableAttributes(const llvm::DbgVariable & Var, llvm::DIE & VariableDie) Line 897 C++ llvm::DwarfCompileUnit::finishVariableDefinition(const llvm::DbgVariable & Var) Line 725 C++ llvm::DwarfDebug::finishVariableDefinitions() Line 655 C++ llvm::DwarfDebug::finalizeModuleInfo() Line 677 C++ llvm::DwarfDebug::endModule()...
2017 Sep 19
0
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...; Björn > > > diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp > b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp > index 499780a173b..308b6bd2b9f 100644 > --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp > +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp > @@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr> > DbgVariable::getFrameIndexExprs() const { > return A.Expr->getFragmentInfo()->OffsetInBits < > B.Expr->getFragmentInfo()->OffsetInBits; > }); > + > + auto last = std::unique(FrameIndexExprs...
2018 Mar 20
2
lld/lto/win32 crash on DIE code
...getOrCreateTypeDIE(const llvm::MDNode * TyNode) Line 753 C++ Symbols loaded. lld.exe!llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty, llvm::dwarf::Attribute Attribute) Line 803 C++ Symbols loaded. lld.exe!llvm::DwarfCompileUnit::applyVariableAttributes(const llvm::DbgVariable & Var, llvm::DIE & VariableDie) Line 980 C++ Symbols loaded. lld.exe!llvm::DwarfCompileUnit::finishVariableDefinition(const llvm::DbgVariable & Var) Line 808 C++ Symbols loaded. lld.exe!llvm::DwarfDebug::finishVariableDefinitions() Line 671 C++ Symbols loaded. lld.exe!llvm:...
2015 May 19
2
[LLVMdev] Module crash when adding CallInst
...+ 34 1 clang 0x0000000001490f61 2 libpthread.so.0 0x00002b33bd0ee340 3 clang 0x00000000016a43a6 llvm::DwarfUnit::addString(llvm::DIE&, llvm::dwarf::Attribute, llvm::StringRef) + 22 4 clang 0x00000000016c2003 llvm::DwarfCompileUnit::applyVariableAttributes(llvm::DbgVariable const&, llvm::DIE&) + 915 5 clang 0x000000000168bdfe llvm::DwarfDebug::finishVariableDefinitions() + 270 6 clang 0x0000000001690424 llvm::DwarfDebug::finalizeModuleInfo() + 52 7 clang 0x000000000169c4a8 llvm::DwarfDebug::endModule() + 40 8 clang...
2017 Sep 19
2
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...> diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp >> b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp >> index 499780a173b..308b6bd2b9f 100644 >> --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp >> +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp >> @@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr> >> DbgVariable::getFrameIndexExprs() const { >> return A.Expr->getFragmentInfo()->OffsetInBits < >> B.Expr->getFragmentInfo()->OffsetInBits; >> }); >> + >> + auto last = std::u...
2018 Mar 20
0
lld/lto/win32 crash on DIE code
This one triggers an assertion in calculateSEHStateNumbers due to weird catchpad instruction in @_island_debug_invoke and many other functions. The code expects either pointer to a filter function or null in first operand, while you're passing pointer to structure: catchpad within %80 [{i8*, i8*}* anon..., ...] ________________________________________ От: Carlo Kok <ck at
2018 Mar 21
0
lld/lto/win32 crash on DIE code
...const llvm::MDNode * TyNode) Line 753 C++ Symbols loaded. lld.exe!llvm::DwarfUnit::addType(llvm::DIE & Entity, const llvm::DIType * Ty, llvm::dwarf::Attribute Attribute) Line 803 C++ Symbols loaded. lld.exe!llvm::DwarfCompileUnit::applyVariableAttributes(const llvm::DbgVariable & Var, llvm::DIE & VariableDie) Line 980 C++ Symbols loaded. lld.exe!llvm::DwarfCompileUnit::finishVariableDefinition(const llvm::DbgVariable & Var) Line 808 C++ Symbols loaded. lld.exe!llvm::DwarfDebug::finishVariableDefinitions() Line 671 C++ Symbo...
2018 Mar 20
2
lld/lto/win32 crash on DIE code
Op 16-3-2018 om 20:16 schreef Evgeny Leviant: > Hello Carlo, > > I tried your reproducer and faced different problem from one you described > (I'm using MacOS Sierra and lld built from trunk on Mar, 15). The crash happens > when SelectionDAGBuilder::lowerInvokable tries to access EH info of this function: > >
2015 May 20
5
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...tly, it accounts for about 15% of backend memory: Bytes Used Count Symbol Name 77.87 MB 8.4% 318960 llvm::DwarfUnit::createAndAddDIE(unsigned int, llvm::DIE&, llvm::DINode const*) 46.34 MB 5.0% 189810 llvm::DwarfCompileUnit::constructVariableDIEImpl(llvm::DbgVariable const&, bool) 25.57 MB 2.7% 104752 llvm::DwarfCompileUnit::constructInlinedScopeDIE(llvm::LexicalScope*) 8.19 MB 0.8% 33547 llvm::DwarfCompileUnit::constructImportedEntityDIE(llvm::DIImportedEntity const*) A lot of this is the pair of `SmallVector<, 12&gt...
2009 Apr 20
1
[LLVMdev] Build fails on windows with VC2008
...ched you can find a patch which should fix the issue. Sincerely yours Marius Wachtler Index: DwarfWriter.cpp =================================================================== --- DwarfWriter.cpp (revision 69629) +++ DwarfWriter.cpp (working copy) @@ -1164,9 +1164,9 @@ void AddVariable(DbgVariable *V) { Variables.push_back(V); } virtual bool isInlinedSubroutine() { return false; } - virtual unsigned getLine() { assert ( 0 && "Unexpected scope!"); } - virtual unsigned getColumn() { assert ( 0 && "Unexpected scope!"); } - virtual unsigned getFile()...
2015 May 21
2
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...nd >> memory: >> >> Bytes Used Count Symbol Name >> 77.87 MB 8.4% 318960 llvm::DwarfUnit::createAndAddDIE(unsigned int, llvm::DIE&, llvm::DINode const*) >> 46.34 MB 5.0% 189810 llvm::DwarfCompileUnit::constructVariableDIEImpl(llvm::DbgVariable const&, bool) >> 25.57 MB 2.7% 104752 llvm::DwarfCompileUnit::constructInlinedScopeDIE(llvm::LexicalScope*) >> 8.19 MB 0.8% 33547 llvm::DwarfCompileUnit::constructImportedEntityDIE(llvm::DIImportedEntity const*) >> >> A lot of this is the...
2020 Apr 15
4
Seeking clarification and way forward on limited scope variables.
Hi Sourabh, Thanks for raising this issue. To answer your question, (afaik) there isn’t anyone working on DW_AT_start_scope support in tree. We’re looking for a solution to this problem for Swift debugging, where it's important not to make a debug location for a variable available until its (guaranteed) initialization is complete. If at all possible, I’d /much/ rather we use the existing