Displaying 7 results from an estimated 7 matches for "martijnrutten".
2009 Nov 13
2
[LLVMdev] llvm-gcc: missing dbg.declare/dbg.stoppoint at optimization level > O0
...are(), but I still do not get any dbg.declare
instructions.
Is there a way to keep all debug information with optimizations
enabled in llvm-gcc?
If I have to disable some specific optimizations to keep the debug
info correct that is fine.
Thanks!
Martijn
-------------
Martijn Rutten
martijn at martijnrutten.com
2011 Apr 22
3
[LLVMdev] LLVMC plugin setup changed?
Hi,
I am trying to build my own llvmc plugin, but somehow, the llvm
makefiles do not pick up the plugin in the llvmc/plugins directory
anymore in a recent (r129445) svn checkout.
According to the tutorial (http://llvm.org/docs/CompilerDriverTutorial.html):
$ cd tools/llvmc
$ cp -r example/Simple plugins/Simple
$ make LLVMC_BASED_DRIVER_NAME=mygcc LLVMC_BUILTIN_PLUGINS=Simple
does not build
2009 Nov 16
0
[LLVMdev] llvm-gcc: missing dbg.declare/dbg.stoppoint at optimization level > O0
Hi Martijn
On Fri, Nov 13, 2009 at 4:52 AM, Martijn <martijn at martijnrutten.com> wrote:
> Hello,
>
> I use llvm and llvm-gcc as a C-to-C transformation tool using a
> modified version of the c backend, and rely on llvm debug instructions
> to link back to the original source code.
>
> Does anyone know how to get detailed line number and variable deb...
2009 Nov 17
0
[LLVMdev] llvm-gcc: missing dbg.declare/dbg.stoppoint at optimization level > O0
Hi Martijn,
On Tue, Nov 17, 2009 at 3:25 AM, Martijn <martijn at martijnrutten.com> wrote:
>>
>> Without mem2reg pass, you're unlikely to get much optimization done on your IR.
>
> Clear, thanks! I presume the mem2reg pass is also essential in the
> CLang frontend, so CLang is not an alternative to llvm-gcc to keep
> more debug information?
Yes...
2011 Apr 27
1
[LLVMdev] LLVM internal getDirectory() for LexicalBlock debug information returns filename?
Hi,
For my project, I am using internal llvm class functions to print the
filename and directory associated with an instruction from the debug
information.
With a recent checkout of llvm and clang (svn revision 129445), the
following custom code (e.g. in a pass that prints directory info for
all instructions) returns the filename iso. directory whenever Scope
refers to a lexical block:
if (const
2009 Nov 17
2
[LLVMdev] llvm-gcc: missing dbg.declare/dbg.stoppoint at optimization level > O0
Hi Devang,
>> I use llvm and llvm-gcc as a C-to-C transformation tool using a
>> modified version of the c backend, and rely on llvm debug instructions
>> to link back to the original source code.
>>
>> Does anyone know how to get detailed line number and variable debug
>> information at optimization levels beyond O0?
>>
>> Currently, I extract this
2009 Nov 27
0
[LLVMdev] Emit va_arg intrinsic in llvm-gcc?
Dear all,
Is there a way to have llvm-gcc output the llvm va_arg intrinsic? As
far as I understand, llvm-gcc directly lowers va_arg in the frontend
using the TARGET_GIMPLIFY_VA_ARG target hook.
I am aware that va_arg segfaults on x86-64
(http://llvm.org/bugs/show_bug.cgi?id=1740) and that llvm-gcc avoids
this issue by always lowering calls to va_arg