search for: didumpoptions

Displaying 7 results from an estimated 7 matches for "didumpoptions".

2018 Nov 03
2
llvm bug 36466 fix
...llvm::raw_ostream&, bool, unsigned int, llvm::MCRegisterInfo const*, unsigned long, unsigned int) const /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp:45:0 #15 0x00000000004b331d dumpLocation(llvm::raw_ostream&, llvm::DWARFFormValue&, llvm::DWARFUnit*, unsigned int, llvm::DIDumpOptions) /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp:115:0 #16 0x00000000004b4034 dumpAttribute(llvm::raw_ostream&, llvm::DWARFDie const&, unsigned int*, llvm::dwarf::Attribute, llvm::dwarf::Form, unsigned int, llvm::DIDumpOptions) /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDie.c...
2018 Nov 03
2
llvm bug 36466 fix
...ed >> int, llvm::MCRegisterInfo const*, unsigned long, unsigned int) const >> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp:45:0 >> #15 0x00000000004b331d dumpLocation(llvm::raw_ostream&, >> llvm::DWARFFormValue&, llvm::DWARFUnit*, unsigned int, llvm::DIDumpOptions) >> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp:115:0 >> #16 0x00000000004b4034 dumpAttribute(llvm::raw_ostream&, llvm::DWARFDie >> const&, unsigned int*, llvm::dwarf::Attribute, llvm::dwarf::Form, unsigned >> int, llvm::DIDumpOptions) >> /home/lin...
2018 Nov 03
2
llvm bug 36466 fix
...CRegisterInfo const*, unsigned long, unsigned int) const >>>> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp:45:0 >>>> #15 0x00000000004b331d dumpLocation(llvm::raw_ostream&, >>>> llvm::DWARFFormValue&, llvm::DWARFUnit*, unsigned int, llvm::DIDumpOptions) >>>> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp:115:0 >>>> #16 0x00000000004b4034 dumpAttribute(llvm::raw_ostream&, llvm::DWARFDie >>>> const&, unsigned int*, llvm::dwarf::Attribute, llvm::dwarf::Form, unsigned >>>> int, llvm::D...
2020 Jan 22
4
Longstanding failing tests - clang-tidy, MachO, Polly
...ashing at about the same place: Stack dump: 0. Program arguments: d:\llvm-project\buildninjarelmsvc\bin\llvm-dwarfdump.exe -all D:\llvm-project\buildninjaRelMSVC\test\MC\MachO\Output\gen-dwarf.s.tmp #0 0x00007ff6c125dfb8 llvm::DWARFCompileUnit::dump(class llvm::raw_ostream &, struct llvm::DIDumpOptions) D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFCompileUnit.cpp:23:0 #1 0x00007ff6c1236e18 <lambda_25ce692e137c1a998cd3557ebf29fa33>::operator() D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFContext.cpp:367:0 #2 0x00007ff6c123968b llvm::DWARFContext::dump(class llvm::raw_ostream &, struct...
2019 Apr 24
2
[DebugInfo] DWARF C API
...text, LLVMDWARFContextRef) ``` then defined some C functions ``` LLVMDWARFContextRef LLVMCreateDWARFContext(LLVMBinaryRef Bin) { std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*unwrap(Bin)); return wrap(DICtx.release()); } void LLVMPrintDWARFContext(LLVMDWARFContextRef C) { DIDumpOptions DumpOpts; DumpOpts.DumpType = DIDT_DebugInfo; // I only care about the .debug_info section unwrap(C)->dump(outs(), DumpOpts); } ``` However, I got a segfault when trying to dump the LLVMDWARFContextRef using the second function. More precisely, it segfaulted when dumping the attribute of the...
2020 Jan 23
2
Longstanding failing tests - clang-tidy, MachO, Polly
...0. Program arguments: >> d:\llvm-project\buildninjarelmsvc\bin\llvm-dwarfdump.exe -all >> D:\llvm-project\buildninjaRelMSVC\test\MC\MachO\Output\gen-dwarf.s.tmp >> >> #0 0x00007ff6c125dfb8 llvm::DWARFCompileUnit::dump(class >> llvm::raw_ostream &, struct llvm::DIDumpOptions) >> D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFCompileUnit.cpp:23:0 >> >> #1 0x00007ff6c1236e18 >> <lambda_25ce692e137c1a998cd3557ebf29fa33>::operator() >> D:\llvm-project\llvm\lib\DebugInfo\DWARF\DWARFContext.cpp:367:0 >> >> #2 0x00007ff6c123968b...
2019 Apr 24
2
[DebugInfo] DWARF C API
...LLVMDWARFContextRef LLVMCreateDWARFContext(LLVMBinaryRef Bin) { > > std::unique_ptr<DWARFContext> DICtx = > DWARFContext::create(*unwrap(Bin)); > > return wrap(DICtx.release()); > > } > > > > void LLVMPrintDWARFContext(LLVMDWARFContextRef C) { > > DIDumpOptions DumpOpts; > > DumpOpts.DumpType = DIDT_DebugInfo; // I only care about the > .debug_info section > > unwrap(C)->dump(outs(), DumpOpts); > > } > > ``` > > However, I got a segfault when trying to dump the LLVMDWARFContextRef > using the second function. Mor...