Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] Debugging Information for Windows"
2009 Jul 15
1
[LLVMdev] Debugging Information for Windows
>> Can LLVM generate debugging information for a Windows target?
> Yes. LLVM generates DWARF debugging information. I haven't checked its
> status recently, but it worked some time ago (on mingw32). Note that,
> however, you cannot mix stabs debug format and DWARF (I saw, e.g.
> pretty weird results from gdb in that case), that means you will need
> either use new mingw32
2009 Jul 15
0
[LLVMdev] Debugging Information for Windows
Hello
> Can LLVM generate debugging information for a Windows target?
Yes. LLVM generates DWARF debugging information. I haven't checked its
status recently, but it worked some time ago (on mingw32). Note that,
however, you cannot mix stabs debug format and DWARF (I saw, e.g.
pretty weird results from gdb in that case), that means you will need
either use new mingw32 gcc (4.2+) or rebuild
2009 Oct 19
2
[LLVMdev] Still can't get source-level debugging to work
Yes I am on darwin.
On Mon, Oct 19, 2009 at 12:17 AM, Anton Korobeynikov <
anton at korobeynikov.info> wrote:
> > warning: Could not find object file
> > "/var/folders/h6/h6He5G34EF8g9zpg3SNFF++++TI/-Tmp-//ccoTexQw.o" - no
> debug
> > information available for "ReflectionTest.tart".
> It seems you're on darwin, right? Then you need another
2009 Oct 19
2
[LLVMdev] Still can't get source-level debugging to work
I've been struggling with this for a while. I've gone back and reviewed all
the messages in this topic on the subject, and I still can't figure it out.
-- I'm disabling frame pointer elimination via "-disable-fp-elim"
-- I see debugging information in my .s file.
-- My command line for compiling the LLVM-generated looks like this:
gcc -g -O0 -x assembler
2009 Oct 19
0
[LLVMdev] Still can't get source-level debugging to work
> warning: Could not find object file
> "/var/folders/h6/h6He5G34EF8g9zpg3SNFF++++TI/-Tmp-//ccoTexQw.o" - no debug
> information available for "ReflectionTest.tart".
It seems you're on darwin, right? Then you need another build steps in
order to see dwarf stuff
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State
2009 Oct 19
0
[LLVMdev] Still can't get source-level debugging to work
> Yes I am on darwin.
I don't recall correctly, but there you cannot 'just' run gcc to get
all dwarf stuff into the binary. You will also need to do some extra
tool invocation (dsymutil?). Just pick some dummy c++ app, compile it
via "gcc -v" and you'll have the precise steps.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint
2011 Jun 02
3
[LLVMdev] Advice on MachineMoves and SEH
On Jun 2, 2011, at 9:11 AM, Jim Grosbach wrote:
>
> On Jun 2, 2011, at 6:20 AM, Rafael Ávila de Espíndola wrote:
>
>> On 11-06-02 6:56 AM, Anton Korobeynikov wrote:
>>> Hi Chip,
>>>
>>>> Because of all this, it's hard to reconstruct the SEH information from
>>>> the MachineMove array. I have thought about adding a new array specific
2008 Nov 09
2
[LLVMdev] Mingw, cross-compiling,___eprintf
Cross-compiling from Ubuntu 8.04 x86_64 to mingw with the cmake
build system fails with this error while linking some tools:
../../lib/libLLVMSystem.a(DynamicLibrary.cpp.obj):DynamicLibrary.cpp:(.text+0x367):
undefined reference to `___eprintf'
___eprintf is mentioned in lib/System/Win32/DynamicLibrary.inc. This
symbol is referenced by libLLVMSystem.a when LLVM is natively built on
2007 Jun 24
5
[LLVMdev] alloca on Win32
Hello, Scott.
> Checking the assembly from llc, the first alloca call is to allocate
> local vars in _main. Is this just the state of the code at 2.0 when
> built with vs.net, or is there something that I've managed to
> mis-build locally?
_alloca is used to probe the stack, if you asks for locals of size more
that 4k. This is pretty ugly, but the names of this functions differs
2009 Jul 11
4
[LLVMdev] LLVMdev Digest, Vol 61, Issue 25
Hi Anton,
The problem is in getting the system configured. Below is the crash I get in
configure. Your comment regarding gnuwin32 not being needed is interesting -
I actually installed gnu bison/flex to get past an earlier crash in
configure.
Thats why I was suggesting that a precompiled OBJ_ROOT for MingW32 would be
a good idea - configure appears to be inherently fragile, and requires more
2012 Nov 20
4
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
Hi All,
I'm trying to compile clang+llvm on my desktop with cross-compiler to be
able to work with llvm commands in ubuntu-arm image whithin gem5.
If anybody has done this before I'd be so thankful to know the exact
process and commands. I tried to configure llvm as follows but I couldn't
get the arm-arm version correctly. To sum up, I need to cross-compile llvm
for ARM to work in
2009 Dec 04
2
[LLVMdev] linking a parser bitcode
Hello Anton,
While we have been discussing this, my partner discovered the source of where the sj/lj stuff is coming from. Does this mean that the LLVM libraries we're using are broken?
Type.cpp
..\..\..\..\llvm\lib/libLLVMCore.a(Type.cpp.obj):Type.cpp.text+0x722): undefined reference to `__gxx_personality_sj0'
..\..\..\..\llvm\lib/libLLVMCore.a(Type.cpp.obj):Type.cpp.text+0x750):
2013 Mar 28
2
[LLVMdev] [cfe-dev] Handling SRet on Windows x86
> A more specific question is - if I fix some Clang i686-pc-win32
> compatibility issue with MSVC for some language feature (e.g.
> returning a struct),
> should I make sure Clang i686-pc-mingw32 behavior is not changed by my
> patches (a)
> or should I make sure that Clang i686-pc-mingw32 generates
> MSVC-compatible ABI for the same feature (b)
> ?
You need to make sure
2008 Jun 16
3
[LLVMdev] Debugging with llvm-gcc/mingw doesn't seem to work
Hello, Argiris
> Any ideas?
1. Make sure, that you don't mix dwarf and stabs debug information.
AFAIR, this can really mess the things
2. It can be, that debug information emitted is not correct. This is
known open problem.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Jul 04
2
[LLVMdev] Noob questions about setting up on Win32
Hello, Ted.
> (*) build LLVM itself
> (*) build programs with LLVM
>
> I have a MingW32 setup on a WinXP machine;
You can see http://wiki.llvm.org/index.php/Notes:MingW32 to get
instructions how to build LLVM on mingw32 box.
For building programs with LLVM itself you'll probably need llvm-gcc4,
which you can either compiled by yourself (tricky on mingw32) or use
prebuilt one in
2012 Jun 11
3
[LLVMdev] Clang64 on Windows using Mingw64 yields many linking errors?
Hi again,
I am regularly building my small STL-enabled C++ project using Mingw64 on
Windows x64 and the program runs fine (it builds and runs fine on x64 Linux
too).
Then I got brave and decided to try out Clang, because I'd eventually like
to take a look at the quality of the generated code, and then did the
following:
1. Set CC to clang.
2. Set CXX to clang++.
3. Run cmake and let it
2009 Aug 14
2
[LLVMdev] Lost target in Triple
I add solaris and pic16.
And add support for mingw.
--
Yours
sincerely,
Yonggang Luo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lostTriple.patch
Type: application/octet-stream
Size: 2637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090814/f44ee795/attachment.obj>
2008 Dec 10
1
[LLVMdev] ARM Debug support patch
Hi, Evan
> I've committed the patch with some fixes. It allows ARM target to
> generate Dwarf information. However, I did not have much luck
> debugging llvm produced executables. I would appreciate it very much
> if you can put the debug support to test and contribute more patches.
Maybe encoding is somehow different for arm/linux and arm/darwin?
--
With best regards, Anton
2009 Aug 29
2
[LLVMdev] Build problems with MinGW
Grabbed the latest bits from SVN (, tried to build with MinGW. I get a
cc1plus.exe out of memory error while trying to "make ENABLE_OPTIMIZED=1" on
the X86CodeEmitter. I can get a full stack trace if necessary, but has
anybody else run into this problem? Only seems to happen with the Release
build-I got a full Debug build to work fine.
Ted Neward
Java, .NET, XML Services
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hello
I quite thank you for your advice,but I have to tell that it made no
difference too calling
"LLVMAddGlobalMapping(ee,LLVMGetNamedFunction(m,"_a_outside_func"),(void*)(&a_outside_func));".
2014-04-04 16:10 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello
>
> While there is a symbol in the object file, there is nothing like this
>