Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Need some brief explanation about llvm::MemoryBuffer and llvm::SourceMgr"
2013 Jan 14
0
[LLVMdev] Need some brief explanation about llvm::MemoryBuffer and llvm::SourceMgr
Is this for user prompts, or just reading data from stdin? You can use
MemoryBuffer::getSTDIN to read the contents of stdin into a memory buffer.
Then you can get the data pointer and size and read it in. As far as I
know, there is not a good way to implement user prompts with the LLVM APIs.
On Mon, Jan 14, 2013 at 4:57 AM, Journeyer J. Joh
<oosaprogrammer at gmail.com>wrote:
>
2013 Jan 15
2
[LLVMdev] Need some brief explanation about llvm::MemoryBuffer and llvm::SourceMgr
Hi Justin Holewinski,
>> As far as I know, there is not a good way to implement user prompts with the LLVM APIs.
This info helps me a lot.
I tried to do a thing that is not possible.
Thank you very much.
Sincerely
Journeyer
2013/1/15 Justin Holewinski <justin.holewinski at gmail.com>:
> Is this for user prompts, or just reading data from stdin? You can use
>
2013 Jan 15
0
[LLVMdev] Need some brief explanation about llvm::MemoryBuffer and llvm::SourceMgr
And for this kind of question I think I would better hold in.
There would be more important issue worth on this list.
For this reason I am sorry.
Sincerely
Journeyer
2013/1/15 Journeyer J. Joh <oosaprogrammer at gmail.com>:
> Hi Justin Holewinski,
>
>>> As far as I know, there is not a good way to implement user prompts with the LLVM APIs.
>
> This info helps me a
2012 Dec 30
2
[LLVMdev] git repository of the tutorial
On Sat, Dec 29, 2012 at 9:45 PM, Journeyer J. Joh
<oosaprogrammer at gmail.com> wrote:
> Klang is tested with LLVM 3.1
> Header file location is often changed. I guess that's why..
I think that klang should be based on the latest SVN/git version of LLVM.
-- Sean Silva
2012 Dec 30
3
[LLVMdev] git repository of the tutorial
Hello,
I just applied changes of LLVM 3.2 and it is tested with LLVM 3.2
downloaded from the LLVM Download Page.
I just worked for master branch only.
The rest of the other branches need to be changed about this also.
This will be done as soon as possible.
(Before I fix this, If you look at the commits for this issue for
master branch, you can easily fix it and test for others also.)
Sorry for
2012 Dec 30
3
[LLVMdev] git repository of the tutorial
On Sat, Dec 29, 2012 at 7:30 PM, Journeyer J. Joh
<oosaprogrammer at gmail.com> wrote:
> Hello Peng Yu and List,
>
> I have put toy.cpp into github but it has a form of LLVM project
> makefile infrastructure. So you can build it together with LLVM
> Project source tree.
>
> git://github.com/Journeyer/klang.git
>
> There exist many branches and each branch is for
2012 Dec 30
0
[LLVMdev] git repository of the tutorial
> I think that klang should be based on the latest SVN/git version of LLVM.
OK. I am testing it with LLVM 3.2 wait a minute.
-- Journeyer
2012/12/30 Sean Silva <silvas at purdue.edu>:
> On Sat, Dec 29, 2012 at 9:45 PM, Journeyer J. Joh
> <oosaprogrammer at gmail.com> wrote:
>> Klang is tested with LLVM 3.1
>> Header file location is often changed. I guess
2013 Feb 28
2
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Hello list,
I use LLVM's vimrc and found that this setting below is useful when
editing of reStructuredText file.
llvm/utils/vim/vimrc
" Enable syntax highlighting for reStructuredText files. To use, copy
" rest.vim (http://www.vim.org/scripts/script.php?script_id=973)
" to ~/.vim/syntax .
augroup filetype
au! BufRead,BufNewFile *.rst set filetype=rest
augroup END
2012 Dec 25
3
[LLVMdev] [cfe-dev] Do you use UML utility programs?
Hi Sean Silva,
Maybe I am the only one who is trying to use UML.
In my team, I am also the only one who draws UML diagrams.
I expected there be someone who use UML like me.
But it's maybe not as your opinion.
Maybe doxygen is enough for majority of people.
Thanks for your reply.
Sincerely
Journeyer J. Joh
2012/12/25 Sean Silva <silvas at purdue.edu>:
> On Mon, Dec 24, 2012 at
2012 Dec 24
2
[LLVMdev] Do you use UML utility programs?
Hello list,
I'd like to know if people use UML tool to analyze and/or document LLVM/Clang.
I use StarUML. It's free and very good though it's free.
But I consider using a commercial program. Because the organization I
belong is willing to support for this.
I don't think I will use these tools to write code.
I think I will use these to do a documentation and analyze code.
So the
2012 Oct 03
2
[LLVMdev] Does LLVM optimize recursive call?
Hi list,
I have a simple question about LLVM.
I learned that we need to use iterations than recursions in C programming.
That is because recursion is expensive. It can easily consume out all
the stack given to a program. And the call/return consumes time much
more.
But I've read a sentence that nowadays compilers can optimize
recursions in C or whatever languages not to consume heavy stack
2013 Jan 13
2
[LLVMdev] [cfe-dev] Do you use UML utility programs?
Oh I see. Thank you. I will study that.
Journeyer
2013/1/13 Sean Silva <silvas at purdue.edu>:
> You can easily collect this information with DTrace on a Mac (or
> Solaris or FreeBSD) without any special LLVM instrumentation.
>
> -- Sean Silva
--
----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l d o t c o m
2012 Dec 30
4
[LLVMdev] git repository of the tutorial
Hi,
I'm learning the tutorial.
http://llvm.org/docs/tutorial/
I'm wondering if there is already a git repository of the examples in
the tutorial so that I don't have to copy the code from the webpage.
Thanks!
--
Regards,
Peng
2012 Nov 04
2
[LLVMdev] License of LLVM Tutorial
Hello List,
I am studying LLVM/clang recently.
One of the method of my learning is making a LLVM project based on
LLVM tutorial.
http://llvm.org/docs/tutorial/
I divided toy.cpp into several .cpp and .h files in several directories.
The purpose of this work is making it structured similar to clang.
And I put it up to github.
git://github.com/Journeyer/klang.git
Now I wonder what license
2012 Dec 30
0
[LLVMdev] git repository of the tutorial
Hello Peng Yu and List,
I have put toy.cpp into github but it has a form of LLVM project
makefile infrastructure. So you can build it together with LLVM
Project source tree.
git://github.com/Journeyer/klang.git
There exist many branches and each branch is for each chapter of Kaleidoscope.
Regards
Journeyer
2012/12/30 Peng Yu <pengyu.ut at gmail.com>:
> Hi,
>
> I'm learning
2012 Jun 21
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hi Joerg,
Thank you very much!
I finally found a working command string to cross-compile for ARM on x86.
./clang -v --save-temps -ccc-host-triple arm-none-linux-gnueabi
--sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc
-gcc-toolchain /home/hum/Documents/Projects/arm_toolchain/arm-2010.09
hello.c -o hello
Above works fine! Important options are
2013 Feb 28
0
[LLVMdev] Propose to use rest.vim for vimrc of LLVM
Thanks, Journeyer. I applied the patch with r176235.
In future, you can submit patches to the llvm-commits mailing list. :)
-bw
On Feb 27, 2013, at 9:03 PM, Journeyer J. Joh <oosaprogrammer at gmail.com> wrote:
> Hello list,
>
> I use LLVM's vimrc and found that this setting below is useful when
> editing of reStructuredText file.
>
>
> llvm/utils/vim/vimrc
2013 Jan 01
1
[LLVMdev] git repository of the tutorial
Hello Peng Yu,
I found the same error on my Macbook Air.
This was my first trying on MacOS X.
Troubleshooting this might take sometime.
Only thing I can say now that klang is tested successfully on Ubuntu with
- LLVM 3.2 official release on LLVM download page
- LLVM svn latest update
Clang compile produces an error message on MacOS X with the LLVM svn
latest update
I am trying to find the
2012 Dec 30
0
[LLVMdev] git repository of the tutorial
Klang is tested with LLVM 3.1
Header file location is often changed. I guess that's why..
What version of LLVM do you use?
2012/12/30 Peng Yu <pengyu.ut at gmail.com>:
> On Sat, Dec 29, 2012 at 7:30 PM, Journeyer J. Joh
> <oosaprogrammer at gmail.com> wrote:
>> Hello Peng Yu and List,
>>
>> I have put toy.cpp into github but it has a form of LLVM project
2012 Dec 25
1
[LLVMdev] [cfe-dev] Do you use UML utility programs?
Hi Sean Silva and people on our list,
>> What tools did you use to generate the diagrams for the klang documentation?
I use StarUML. ( http://staruml.sourceforge.net/en/ )
I mentioned about this earlier before on this mail-list.
It's a Windows only application and free software.
It is good SW. But development is stopped since long ago.
The product was originally a commercial one. But