Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] Compiling my LLVM-based project using clang"
2011 Jun 25
0
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
On Fri, Jun 24, 2011 at 10:51 PM, Talin <viridia at gmail.com> wrote:
> A couple of months ago, I started the process of updating my CMake scripts
> to allow my compiler to be compiled with clang. I quickly ran into a problem
> calling the LLVM libraries, which is that I would get segfaults when calling
> LLVM API functions. I posted about this on both the clang and llvm-dev
>
2011 Jun 25
2
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
A couple of months ago, I started the process of updating my CMake scripts
to allow my compiler to be compiled with clang. I quickly ran into a problem
calling the LLVM libraries, which is that I would get segfaults when calling
LLVM API functions. I posted about this on both the clang and llvm-dev
lists, but there was no response, so I decided to put the clang-related work
on hold.
Last week I
2011 Jul 24
0
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
So this was working fine for me until a few days ago when I checked out the
most recent LLVM - the one with the new type system. Now I am getting the
same error that I was getting previously.
Is it possible that your fix got unfixed when they merged in the new branch?
On Thu, Jun 30, 2011 at 2:21 PM, Talin <viridia at gmail.com> wrote:
> Cool, I'll check it out - thanks!
>
>
2011 Jun 29
0
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
On Mon, Jun 27, 2011 at 6:32 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Sat, Jun 25, 2011 at 1:34 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Fri, Jun 24, 2011 at 10:51 PM, Talin <viridia at gmail.com> wrote:
>>> A couple of months ago, I started the process of updating my CMake scripts
>>> to allow my compiler to be compiled
2011 Jun 30
2
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
Cool, I'll check it out - thanks!
On Wed, Jun 29, 2011 at 12:07 AM, Eli Friedman <eli.friedman at gmail.com>wrote:
> On Mon, Jun 27, 2011 at 6:32 PM, Eli Friedman <eli.friedman at gmail.com>
> wrote:
> > On Sat, Jun 25, 2011 at 1:34 AM, Eli Friedman <eli.friedman at gmail.com>
> wrote:
> >> On Fri, Jun 24, 2011 at 10:51 PM, Talin <viridia at
2011 Jun 28
2
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
On Sat, Jun 25, 2011 at 1:34 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Fri, Jun 24, 2011 at 10:51 PM, Talin <viridia at gmail.com> wrote:
>> A couple of months ago, I started the process of updating my CMake scripts
>> to allow my compiler to be compiled with clang. I quickly ran into a problem
>> calling the LLVM libraries, which is that I would get
2012 Dec 28
2
[LLVMdev] Newbie question(?): How to correctly create debug info, when generating IR
Hello all,
Summary & Context:
-------------------------------
I am starting to write a front-end for some domain specific programming
languages. Code generation seems to be working fine.
However, I am having trouble generating debug info, to be used by gdb.
The problem:
--------------------
I generate a foo.ll file, that is later compiled into an executable foo.
The foo.ll file I
2011 Jul 24
3
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
On Sat, Jul 23, 2011 at 5:09 PM, Talin <viridia at gmail.com> wrote:
> So this was working fine for me until a few days ago when I checked out the
> most recent LLVM - the one with the new type system. Now I am getting the
> same error that I was getting previously.
> Is it possible that your fix got unfixed when they merged in the new branch?
I wouldn't be surprised if
2011 Aug 18
0
[LLVMdev] Segfault calling LLVM libs from a clang-compiled executable
On Sat, Jul 23, 2011 at 6:32 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Sat, Jul 23, 2011 at 5:09 PM, Talin <viridia at gmail.com> wrote:
>> So this was working fine for me until a few days ago when I checked out the
>> most recent LLVM - the one with the new type system. Now I am getting the
>> same error that I was getting previously.
>> Is it
2011 Mar 29
1
[LLVMdev] Accessing metadata & creating DIVariable
>>> I am adding local var to existing IR with debug info. I am not using
>>> the Pass infrastructure.
>>>
>>> void InsertDbg(AllocaInst *i, StringRef varname, Instruction, inserbefore)
>>> {
>>>
>>> DIBuilder di(*module);
>>> cu = di.createCU / * How do I get the MDNode of already in the
>>> IR . Instead of
2011 Mar 29
0
[LLVMdev] Accessing metadata & creating DIVariable
On Mar 29, 2011, at 8:23 AM, Vedavyas Duggirala wrote:
>>>> I am adding local var to existing IR with debug info. I am not using
>>>> the Pass infrastructure.
>>>>
>>>> void InsertDbg(AllocaInst *i, StringRef varname, Instruction, inserbefore)
>>>> {
>>>>
>>>> DIBuilder di(*module);
>>>> cu =
2011 Feb 24
4
[LLVMdev] DIFactory interface is going away
Hi All,
DIFactory interface, part of DebugInfo.h, is used to emit LLVM IR constructs to encode debugging information. We are replacing this interface with new simple interface, DIBuilder.
Here is one example that demonstrates differences between two interfaces. To create debug information entries to encode volatile type one would use following call in a language front end,
2011 Feb 24
0
[LLVMdev] DIFactory interface is going away
On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel <dpatel at apple.com> wrote:
> Hi All,
> DIFactory interface, part of DebugInfo.h, is used to emit LLVM IR constructs
> to encode debugging information. We are replacing this interface with new
> simple interface, DIBuilder.
> Here is one example that demonstrates differences between two interfaces. To
> create debug information
2018 Nov 11
3
A stage2 build causes changes to libllvm impacting program using it (exemple: rustc)
Hello,
Lately, I have been working on moving Debian & Ubuntu packages to a
stage2 build.
This means that, instead of shipping llvm-toolchain packages built with
gcc, we are rebuilding
everything a second time using the newly built clang.
Now, when pushed to Debian, it caused some unexpected issues in
particular with rust reported here:
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
On 24/02/11 22:34, Jason Kim wrote:
> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel<dpatel at apple.com> wrote:
>> Hi All,
>> DIFactory interface, part of DebugInfo.h, is used to emit LLVM IR constructs
>> to encode debugging information. We are replacing this interface with new
>> simple interface, DIBuilder.
>> Here is one example that demonstrates
2010 May 05
2
[LLVMdev] Is the option --enable-shared discontinued in 2.7?
On Tue, May 4, 2010 at 5:31 PM, Yuri <yuri at tsoft.com> wrote:
> Jeffrey Yasskin wrote:
>>>
>>> Would you try the patch at
>>> http://codereview.appspot.com/download/issue968046_1.diff? It should
>>> make the BSDs fall into the same path as Linux, and since you use gnu
>>> ld, that should work for you.
>>>
>>
>> Ping?
2008 Nov 25
2
[LLVMdev] Removal of Visual Studio project files.
"Cory Nelson" <phrosty at gmail.com> writes:
> On Mon, Nov 24, 2008 at 8:18 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
>> OvermindDL1 <overminddl1 at gmail.com> writes:
>>> As long as instructions are supplied on how to pass in user defined
>>> macros to the build system. I have to turn off a lot of the extra
>>> safety crap that
2011 Mar 28
3
[LLVMdev] Accessing metadata & creating DIVariable
Hi,
I am wondering if someone can guide me in adding metadata to IR which
already contains some metadata. I am trying to add dbg.declare inst
for a local variable I added to a function. I used the DIBuilder to
build a DIVariable. When I try to compile llc fails with following
message.
llc: MCAsmStreamer.cpp:273: virtual
void<unnamed>::MCAsmStreamer::EmitLabel(llvm::MCSymbol*): Assertion
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Hi Timo:
You need to find LLVMConfig.cmake in the binary or install directory tree,
not the source tree.
Although I don't embed clang/llvm, my config might help you figure it --
clang/llvm installed under (could have used build directory) ~/usr :
$ cd /Users/dhinton/projects/cover/build/ && rm -rf * && CC=~/usr/bin/clang
CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm
2016 Oct 10
2
Embedding llvm as a git submodule in Project
Sorry my example wasn't helpful.
I did take a quick look at rust -- though I didn't download or try to build
it -- and they seem to allow you to use an installed or prebuilt version in
addition to building it in-tree. However, even when they build it in-tree,
they build the whole thing -- see mk/llvm.mk.
Good luck...
On Mon, Oct 10, 2016 at 1:33 AM, Timo Janssen via llvm-dev <