Displaying 20 results from an estimated 100 matches similar to: "source line number for instruction"
2018 May 15
0
source line number for instruction
Not sure what you tried/how it didn't work - could you explain more?
You could scan through all the llvm::Functions in an llvm::Module and look
at the debug info associated with them (getSubprogram) then check the
location of that debug info.
- Dave
On Tue, May 15, 2018 at 12:46 AM Ridwan Shariffdeen via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> I want to
2018 May 24
1
Getting variable names from LLVM Pass
Hi Michael,
Thanks for the help, it seems like you said its not going to be easy. But I
will have a try at this, thank you for the link to LibTooling.
Best
On Mon, May 21, 2018 at 6:26 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
>
>
> > On 21 May 2018, at 18:38, Ridwan Shariffdeen via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> >
2018 May 21
2
Getting variable names from LLVM Pass
Hi,
I want to retrieve the variable names used in a statement, I tried the
following snippet,
but it only gives me the variable named in llvm bitcode. I need the
variable name in source code.
for (auto op = I.op_begin(); op != I.op_end(); op++) {
Value* v = op->get();
StringRef name = v->getName();
}
Is there specific documentation I can
2018 May 21
0
Getting variable names from LLVM Pass
> On 21 May 2018, at 18:38, Ridwan Shariffdeen via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> I want to retrieve the variable names used in a statement, I tried the following snippet,
> but it only gives me the variable named in llvm bitcode. I need the variable name in source code.
>
> for (auto op = I.op_begin(); op != I.op_end(); op++) {
>
2016 Sep 03
2
llc error
I updated to the latest revision and now llvm does not build and quits
cmake with
CMake Error at cmake/modules/LLVMProcessSources.cmake:83 (message):
Found unknown source file
../llvm-revec/lib/CodeGen/MachineFunctionAnalysis.cpp
Please update
../llvm-revec/lib/CodeGen/CMakeLists.txt
Thanks
On Sat, Sep 3, 2016 at 2:09 AM, Craig Topper <craig.topper at gmail.com> wrote:
>
2010 Jul 07
2
[LLVMdev] source line number for instruction
Hi,
I found the following at
http://llvm.org/docs/SourceLevelDebugging.html#ccxx_frontend:
if (MDNode *N = I->getMetadata("dbg")) { // Here I is an LLVM instruction
DILocation Loc(N); // DILocation is in DebugInfo.h
unsigned Line = Loc.getLineNumber();
StringRef File = Loc.getFilename();
StringRef Dir = Loc.getDirectory();
}
Does this also
2010 May 18
4
[LLVMdev] DEBUG INFO at the bytecode level
Thanks Edwin.
I found DebugInfo.cpp may be useful. Could you tell me which function
I should call inorder to know the source file name and the line number
for a particular instruction?
Cheers,
Zheng
2010/5/18 Török Edwin <edwintorok at gmail.com>:
> On 05/18/2010 01:26 PM, Zheng Wang wrote:
>> Hello,
>>
>> Could I get some debug info at the byte code level? I am
2015 Mar 04
1
Regarding GSoC 2015
Hi everyone,
I'm Shiluka Dharmasena, 3rd year computer science and engineering
undergraduate from University of Moratuwa, Sri Lanka. I'm interested to
participate as a gsoc student for Xiph.Org Foundation's Icecast project.
It's a great opportunity for me to get involved in an open source project
and I'm keen to contribute as a developer.
I went through the project ideas
2004 Mar 23
1
Does Chi Square test for R differ from S-Plus?
I tried to run a GLM model using S-Plus and R. The same model and data were
applied to the both packages. I got different results of P(>|Chi|) for Anova,
between S-PLus and R. Other estimates values are the same.
P(>|Chi|) for S-Plus:
0.99565 0.99682 0.04871 0.84597 1.00000 0.99999 1.00000 1.00000 1.00000 0.95834
P(>|Chi|) for R:
0.00000 0.00000 0.00000 0.00000 0.00000 0.00000
2010 May 18
0
[LLVMdev] DEBUG INFO at the bytecode level
2010/5/18 Zheng Wang <jason.wangz at gmail.com>:
>
> I found DebugInfo.cpp may be useful. Could you tell me which function
> I should call inorder to know the source file name and the line number
> for a particular instruction?
>
See http://llvm.org/docs/SourceLevelDebugging.html#ccxx_frontend
At the end of "C/C++ source file information" section, there is a
small
2010 May 25
1
[LLVMdev] DEBUG INFO at the bytecode level
Devang Patel <devang.patel <at> gmail.com> writes:
>
> 2010/5/18 Zheng Wang <jason.wangz <at> gmail.com>:
> >
> > I found DebugInfo.cpp may be useful. Could you tell me which function
> > I should call inorder to know the source file name and the line number
> > for a particular instruction?
> >
>
> See
2010 Jul 07
0
[LLVMdev] source line number for instruction
On Jul 6, 2010, at 10:44 PM, Guoliang Jin wrote:
> I found the following at http://llvm.org/docs/SourceLevelDebugging.html#ccxx_frontend
> :
> if (MDNode *N = I->getMetadata("dbg")) { // Here I is an LLVM
> instruction
> DILocation Loc(N); // DILocation is in
> DebugInfo.h
> unsigned Line = Loc.getLineNumber();
> StringRef
2009 Mar 20
1
Join with openssh org: GSOC 2009-Performance improvements
Hi All,
I am Ananda student of university of Moratuwa Sri lanka(www.mrt.ac.lk). I
have worked with SAHNA open source community and have a experience with open
source software as well. I am familiar with C language base soft ware
development through the my university master degree and out source, so that
I have decided to apply for GSOC in this year through your organisation. I
am going to apply
2014 Jul 01
1
c#/ java binding improvements
Hi,
I am a Computer Science and Engineering student at University of Moratuwa,
Sri Lanka. I went through the project proposals of Xapian at Gsoc 2014. I
found the project "c# binding improvement", very attractive for me to start
up with committing to open-source community. And then found that is is not
taken by any student. Please, some one can help me to start on this. I have
3 years
2016 Sep 03
4
llc error
Hi all,
The attached LLVM assembly file fails to generate x86 code when compiled
using llc.
compilation command - ../llvm-build/bin/llc -filetype=asm -march=x86-64
-mcpu=core-avx2 ex4.ll
The error message is,
LLVM ERROR: Cannot select: t95: v8f32 = X86ISD::SUBV_BROADCAST t17
t17: v4f32,ch = load<LD16[%scevgep](tbaa=<0x4dbcd98>)> t0, t16, undef:i64
t16: i64 = add t2,
2007 Jul 23
1
Theora and OLPC
Hi guys,
My name is Adir. I'm a Google Summer of Code student, and in addition to
that I will be working both with Xiph.org and with OLPC on optimizing
Theora's performance.
I'm in the list to get a shiny B4, but at the moment I can't do anything
since sending the laptop to my place involves some difficulties. Until I get
the laptop, I would like to hear from any of you, XO users
2010 Oct 06
3
MYSQL ADDON INSTALLATION ERROR
Hi All,
Please refresh my memory. I am trying to install asterisk after 2 years. I
hav'nt used it since 2008 (version 1.4.2). Now I am trying to install
1.8.0-rc2 on centos 5.5 but getting the following errors.
app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory
app_mysql.c: In function ?mysql_ds_destroy?:
app_mysql.c:135: warning: implicit declaration of function ?mysql_close?
2009 Mar 20
1
ANOVA and TukeyHSD disagrees?
Dear list,
Sorry for posting a borderline statistical question on the list, but hte
SPSS people around me just stares at me blankly when refering to tests with
any term other than ANOVA and post-hoc. I would appreciate any insight on
how this all is possible:
I have a model fitted by aov() stored in "ppdur", which gives this result
when using ANOVA:
> anova(ppdur)
Analysis of
2012 Dec 20
1
Changing administrator password after Samba4 classic upgrade
I used to upgrade samba3 to samba4 with almost successful with one problem,
administrator can't access. As administrator, by default it is the only
user account that is given full control over the system.
My query is how to change the administrator password? we have one account
which can join to the samba 4 AD based on the migrated data but the problem
can't change the administrator or
2018 Sep 16
0
Save VGA console log
Hi everyone,
Currently I boot my guest through VGA as
LABEL vga
KERNEL vmlinuz
APPEND initrd=initrd console=tty0 rootfstype=ramfs
If I boot through VGA tty0, is there any way to modify libvirt xml config that
when a user type command "reboot" in VGA console, I can log all
messages types from user in "console", could you please help?
Thanks a lot
Brs,
Naruto