search for: llvmsymbol

Displaying 20 results from an estimated 40 matches for "llvmsymbol".

Did you mean: lldbsymbol
2015 Oct 21
2
RFC: Move parts of llvm-symbolizer tool implementation to LLVMSymbolize library
...>>> Do you suggest to design it upfront, or you're fine with moving the >>> existing code first, and gradually updating the interface afterwards? >>> >> >> Don't know, what's the interface look like now? :) Were you just going to >> copy the LLVMSymbolize.[cpp,h] into the directory? >> > > For a start, yes. > OK. > > >> That should be fine I guess. I'd like to see the general ownership of >> objects separated out fairly explicitly from the rest of the code. >> > > I'm not sure what you mean...
2015 Oct 20
2
RFC: Move parts of llvm-symbolizer tool implementation to LLVMSymbolize library
Hi, We have a lot of non-trivial logic accumulated in the implementation of llvm-symbolizer tool (tools/llvm-symbolizer/LLVMSymbolize.{h,cpp}), for instance: * dynamic dispatch between DWARF and PDB debug info; * building address->symbol_name mapping from object file (with special cases for PowerPC function descriptor section, and COFF export tables); * finding debug info stored in separate files (.dSYM files on Darwin, EL...
2015 Oct 21
2
RFC: Move parts of llvm-symbolizer tool implementation to LLVMSymbolize library
...o see the >> library design :) >> > > Do you suggest to design it upfront, or you're fine with moving the > existing code first, and gradually updating the interface afterwards? > Don't know, what's the interface look like now? :) Were you just going to copy the LLVMSymbolize.[cpp,h] into the directory? That should be fine I guess. I'd like to see the general ownership of objects separated out fairly explicitly from the rest of the code. -eric > > >> >> -eric >> >> On Wed, Oct 21, 2015 at 7:35 AM Rafael EspĂ­ndola <llvm-dev at l...
2015 Oct 21
2
RFC: Move parts of llvm-symbolizer tool implementation to LLVMSymbolize library
...tests is not a good > reason IMHO. > > On 20 October 2015 at 16:54, Alexey Samsonov <vonosmas at gmail.com> wrote: > > Hi, > > > > We have a lot of non-trivial logic accumulated in the > > implementation of llvm-symbolizer tool > > (tools/llvm-symbolizer/LLVMSymbolize.{h,cpp}), for instance: > > > > * dynamic dispatch between DWARF and PDB debug info; > > * building address->symbol_name mapping from object file (with special > cases > > for PowerPC function descriptor section, and COFF export tables); > > * finding debug in...
2018 Aug 07
2
Error Calling eraseFromParent()
...;getOperand(0); Value* rhs = op->getOperand(1); Value* mul = builder.CreateMul(lhs, rhs); for (auto& U : op->uses()) { User* user = U.getUser(); user->setOperand(U.getOperandNo(), mul); } I.eraseFromParent(); } ... This leads to the following runtime error: LLVMSymbolizer: error reading file: No such file or directory ... Does anybody know the solution? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180807/a57704e6/attachment.html>
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
...e. Anyway the full output of lli is: lli --force-interpreter examples/pngpixel_crash.bc 0 0 examples/mini.png png_ptr->width: 1 max_pixel_depth: 24 row_bytes: 28 Unknown constant pointer type! UNREACHABLE executed at /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! LLVMSymbolizer: error reading file: No such file or directory #0 0x0000000001765ee9 (lli+0x1765ee9) #1 0x0000000001766099 (lli+0x1766099) #2 0x0000000001764643 (lli+0x1764643) #3 0x0000000001766424 (lli+0x1766424) #4 0x00007f5dc5fc7890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890) #5 0x00007f5d...
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
...s ([32 x %struct.code], [32 x %struct.code]* @fixedtables.distfix.682, i64 0, i64 0)>, <2 x %struct.code*>* %96, align 8, !tbaa !46 The output from lli is: Unknown constant pointer type! UNREACHABLE executed at /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! LLVMSymbolizer: error reading file: No such file or directory #0 0x0000000001765ee9 (lli+0x1765ee9) #1 0x0000000001766099 (lli+0x1766099) #2 0x0000000001764643 (lli+0x1764643) #3 0x0000000001766424 (lli+0x1766424) #4 0x00007faade157890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890) #5 0x00007faa...
2018 Aug 07
2
Error Calling eraseFromParent()
...r* user = U.getUser(); user->setOperand(U.getOperandNo(), mul); } I.eraseFromParent(); } } ... And I think that the code worked well with LLVM-3.6.0 that I tested one year ago. Now, I use LLVM-6.0.0. Regards. On Tue, Aug 7, 2018 at 8:11 PM, <paul.robinson at sony.com> wrote: > LLVMSymbolizer is invoked while trying to pretty-print a crash backtrace. > "error reading file" suggests that you are on Windows and it cannot find > the .pdb file with symbol information. > > If that's the case, are you doing either a Debug or RelWithDebInfo build? > If you are,...
2019 Dec 24
2
Interpreter crash due to an "Unknown constant pointer type!"
...examples/pngpixel_crash.bc 0 0 examples/mini.png >> png_ptr->width: 1 >> max_pixel_depth: 24 >> row_bytes: 28 >> Unknown constant pointer type! >> UNREACHABLE executed at >> /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! >> LLVMSymbolizer: error reading file: No such file or directory >> #0 0x0000000001765ee9 (lli+0x1765ee9) >> #1 0x0000000001766099 (lli+0x1766099) >> #2 0x0000000001764643 (lli+0x1764643) >> #3 0x0000000001766424 (lli+0x1766424) >> #4 0x00007f5dc5fc7890 __restore_rt >> (/lib/x...
2019 Jan 26
2
How to debug .ll file with segmentation fault?
Hi, I edited a working .ll file and llvm-as it to a .bc file. But it causes segmentation fault. I don't know how to debug such errors. Could anybody show me the best way to debug such errors? Thanks. $ TRACE_OUTFILE=/tmp/trace.txt lli /tmp/y/bash_trcr.bc --norc __trace_init LLVMSymbolizer: error reading file: No such file or directory #0 0x00007f162b1ee0ea llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x81e0ea) #1 0x00007f162b1ec366 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x81c366) #2 0x000...
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
...;>> png_ptr->width: 1 >>>> max_pixel_depth: 24 >>>> row_bytes: 28 >>>> Unknown constant pointer type! >>>> UNREACHABLE executed at >>>> /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! >>>> LLVMSymbolizer: error reading file: No such file or directory >>>> #0 0x0000000001765ee9 (lli+0x1765ee9) >>>> #1 0x0000000001766099 (lli+0x1766099) >>>> #2 0x0000000001764643 (lli+0x1764643) >>>> #3 0x0000000001766424 (lli+0x1766424) >>>> #4 0x00007f...
2019 Mar 18
1
llvm symbolizer not able to parse debuginfo files
...x7f83d22f91ba (/usr/lib/debug/usr/lib64/ganesha/libfsalminerva.so.4.2.0.debug+0x251ba) /opt/rh/llvm-toolset-7/root/usr/bin/llvm-symbolizer --use-symbol-table=true --demangle=False --inlining=true --default-arch=i386 "/usr/lib/debug/usr/lib64/ganesha/libfsalminerva.so.4.2.0.debug" 0x251ba LLVMSymbolizer: error reading file: Invalid data was encountered while parsing the file addr2line -fi -e /usr/lib/debug/usr/lib64/ganesha/libfsalminerva.so.4.2.0.debug "/usr/lib/debug/usr/lib64/ganesha/libfsalminerva.so.4.2.0.debug" 0x251ba #0 0x7f83d22f91ba in minerva_mkdir /usr/src/debug/nfs-g...
2018 Jan 23
1
[PDB] Error "DIA is not installed on the system" occured in `llvm::pdb::loadDataForExe()`.
Hi all, I have two questions about reading PDB file. For `llvm::pdb::loadDataFromEXE(PDB_ReaderType Type, ...)`, there are two places calling this method, `LLVMSymbolizer::getOrCreateModuleInfo(PDB_ReaderType::DIA, ...)`, see https://github.com/llvm-mirror/llvm/blob/master/lib/DebugInfo/Symbolize/Symbolize.cpp#L403, and `SymbolFilePDB::CalculateAbilities(PDB_ReaderType::DIA, ...)`, see https://github.com/llvm-mirror/lldb/blob/master/source/Plugins/SymbolFile/PDB...
2018 Jul 10
2
custom LLVM Pass with options fails to load
...us namespace)::CommandLineParser::registerCategory(llvm::cl::OptionCategory *): Assertion `count_if(RegisteredOptionCategories, [cat](const OptionCategory *Category) { return cat->getName() == Category->getName(); }) == 0 && "Duplicate option categories"' failed. LLVMSymbolizer: error reading file: No such file or directory #0 0x0000000001d8eea4 (opt+0x1d8eea4) #1 0x0000000001d8f206 (opt+0x1d8f206) #2 0x00007fb283220390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) #3 0x00007fb2821cd428 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x35428) #4 0x00007fb282...
2019 Jan 26
3
How to debug .ll file with segmentation fault?
...nd llvm-as it to a .bc file. But it >> causes segmentation fault. I don't know how to debug such errors. >> Could anybody show me the best way to debug such errors? Thanks. >> >> $ TRACE_OUTFILE=/tmp/trace.txt lli /tmp/y/bash_trcr.bc --norc >> __trace_init >> LLVMSymbolizer: error reading file: No such file or directory >> #0 0x00007f162b1ee0ea llvm::sys::PrintStackTrace(llvm::raw_ostream&) >> (/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1+0x81e0ea) >> #1 0x00007f162b1ec366 llvm::sys::RunSignalHandlers() >> (/usr/lib/llvm-6.0/bin/../lib...
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
...gt;> max_pixel_depth: 24 >>>>>> row_bytes: 28 >>>>>> Unknown constant pointer type! >>>>>> UNREACHABLE executed at >>>>>> /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! >>>>>> LLVMSymbolizer: error reading file: No such file or directory >>>>>> #0 0x0000000001765ee9 (lli+0x1765ee9) >>>>>> #1 0x0000000001766099 (lli+0x1766099) >>>>>> #2 0x0000000001764643 (lli+0x1764643) >>>>>> #3 0x0000000001766424 (lli+0x17664...
2018 Jul 12
2
custom LLVM Pass with options fails to load
...isterCategory(llvm::cl::OptionCategory >> *): >> Assertion `count_if(RegisteredOptionCategories, [cat](const >> OptionCategory *Category) { return cat->getName() == >> Category->getName(); }) == 0 && "Duplicate option categories"' failed. >> LLVMSymbolizer: error reading file: No such file or directory >> #0 0x0000000001d8eea4 (opt+0x1d8eea4) >> #1 0x0000000001d8f206 (opt+0x1d8f206) >> #2 0x00007fb283220390 __restore_rt >> (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) >> #3 0x00007fb2821cd428 gsignal (/lib/x86_64-l...
2018 Sep 10
3
How to avoid multiple registers definitions in customInserter.
...me/dte/eclipse-workspace/llvm/lib/CodeGen/MachineRegisterInfo.cpp:366: llvm::MachineInstr* llvm::MachineRegisterInfo::getVRegDef(unsigned int) const: Assertion `(I.atEnd() || std::next(I) == def_instr_end()) && "getVRegDef assumes a single definition or no definition"' failed. LLVMSymbolizer: error reading file: No such file or directory Here is the inner part of my customInserter. Are there any additional actions to perform during the customInserter. MachineBasicBlock * CLPTargetLowering::emitLOpcodeHOpcode(MachineInstr &MI, MachineBasicBlock *MBB,...
2018 Nov 14
2
Fw: How to define an instruction
...about "can'r run". I just want to run my instruction by LLVM using the commands "clang -O0 -emit-llvm test.c -S -o test.ll" and "lli test.ll".But now ,when I use "lli test.bc" , the result shows as following: Stack dump: 0.Program arguments: lli test.ll LLVMSymbolizer: error reading file: No such file or directory #0 0x000000000211b709 (lli+0x211b709) #1 0x000000000211b79c (lli+0x211b79c) #2 0x0000000002119496 (lli+0x2119496) #3 0x000000000211b104 (lli+0x211b104) #4 0x00007fe3d188a390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) #5 0x00007fe3...
2020 Feb 01
0
Interpreter crash due to an "Unknown constant pointer type!"
...pth: 24 >>>>>>> row_bytes: 28 >>>>>>> Unknown constant pointer type! >>>>>>> UNREACHABLE executed at >>>>>>> /home/al/Desktop/llvm-6.0.1.src/lib/ExecutionEngine/ExecutionEngine.cpp:1007! >>>>>>> LLVMSymbolizer: error reading file: No such file or directory >>>>>>> #0 0x0000000001765ee9 (lli+0x1765ee9) >>>>>>> #1 0x0000000001766099 (lli+0x1766099) >>>>>>> #2 0x0000000001764643 (lli+0x1764643) >>>>>>> #3 0x0000000001766...