Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-26 Thread Greg Clayton via lldb-dev
22:29 > To: Bhushan Attarde > Cc: lldb-dev@lists.llvm.org > Subject: Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS > on Linux > > What happens if we go with "_$" as our private prefix? Or maybe "lldb$"? > Would this avoid the issue and f

Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-25 Thread Bhushan Attarde via lldb-dev
b-dev@lists.llvm.org Subject: Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux What happens if we go with "_$" as our private prefix? Or maybe "lldb$"? Would this avoid the issue and fix things for MIPS? I would rather us have a consistent private naming

Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-23 Thread Greg Clayton via lldb-dev
k removing C Language linkage from function > "$__lldb_valid_pointer_check" can be a solution? or do you have a better > solution to this issue? > > Regards, > Bhushan > > > -Original Message- > From: Greg Clayton [mailto:gclay...@apple.com] > Sent:

Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-23 Thread Bhushan Attarde via lldb-dev
inal Message- From: Greg Clayton [mailto:gclay...@apple.com] Sent: 20 October 2015 23:56 To: Greg Clayton Cc: Bhushan Attarde; lldb-dev@lists.llvm.org Subject: Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux My guess is that there is a different temporary symbol for

Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-20 Thread Greg Clayton via lldb-dev
My guess is that there is a different temporary symbol for differing architectures and possibly depending on which file format (mach-o or ELF) you are targeting. MIPS probably happens to use '$'. I know mach-o files use "L" as the temporary symbol prefix, ELF tends to use '.'. Not sure where thi

Re: [lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-20 Thread Greg Clayton via lldb-dev
What is this not happening on any other architecture? Is the "$" special for MIPS and not for other architectures? We really don't want to remove the '$' as we want the symbol to be unique. The '$' symbol is fine for all x86/x86_64/arm and arm64 variants... Greg > On Oct 19, 2015, at 11:30 PM

[lldb-dev] llvm assertion while evaluating expressions for MIPS on Linux

2015-10-19 Thread Bhushan Attarde via lldb-dev
Hi, I am facing issue (llvm assertion) in evaluating expressions for MIPS on Linux. (lldb) p fooptr(a,b) lldb: /home/battarde/git/llvm/lib/MC/ELFObjectWriter.cpp:791: void {anonymous}::ELFObjectWriter::computeSymbolTable(llvm::MCAssembler&, const llvm::MCAsmLayout&, const SectionIndexMapTy&, co