Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Debugging docs wrong?"
2010 Jul 13
0
[LLVMdev] Debugging docs wrong?
On Tue, Jul 13, 2010 at 6:08 AM, Renato Golin <rengolin at systemcall.org> wrote:
> http://llvm.org/docs/SourceLevelDebugging.html#ccxx_compile_units
>
> !1 = metadata !{
> i32 524329, ;; Tag
> metadata !"MySource.cpp",
> metadata !"/Users/mine/sources",
> metadata !3 ;; Compile unit
> }
>
> !2 is the Compile Unit, right? !3 is also
2010 Jul 14
2
[LLVMdev] Debugging docs wrong?
On 13 July 2010 17:54, Devang Patel <devang.patel at gmail.com> wrote:
> Yes. Thanks for catching this.
> Fixed r108246.
Most welcome. ;)
Btw, the 2.6 debug information (referred from the blog) doesn't warn
users that it's deprecated, nor it links to the new info (in an
obvious manner, at least), that is completely different. That happens
with the release notes that
2010 Jul 14
0
[LLVMdev] Debugging docs wrong?
On Jul 14, 2010, at 1:51 AM, Renato Golin wrote:
> On 13 July 2010 17:54, Devang Patel <devang.patel at gmail.com> wrote:
>> Yes. Thanks for catching this.
>> Fixed r108246.
>
> Most welcome. ;)
>
> Btw, the 2.6 debug information (referred from the blog) doesn't warn
> users that it's deprecated, nor it links to the new info (in an
> obvious
2011 Oct 04
0
[LLVMdev] collect end line number for scope
Pankaj,
On Oct 3, 2011, at 4:36 AM, Pankaj Gode wrote:
> Hi All,
>
> int global;
> int func( int t)
> {
> //scope 1
> {
> ....
> } <-----
> return x;
> }
>
> For the above code, i want to collect endline (indicated by <---) for the scope. Can we get this information from the Dwarf Information in llvm 2.9 ?
>
If there is no code
2011 Oct 05
2
[LLVMdev] collect end line number for scope
Hi,
The link and the information shared was helpful.
I will make my problem definition more clear.
While I am "asm printing" target code, I also want to emit scope related information.
Scope related information includes,
- for each scope, start line, end line, start column, end column
and
- scope heirarchy.
As scope is delimited by "{" and "}" (for an input
2011 Oct 05
0
[LLVMdev] collect end line number for scope
Pankaj,
If you want to decorate MachineInstrs then for the end of scope you're not looking at "}" but instead you're looking at _last_ machine instruction in that scope. Now, if you want to find out start and end MachineInstrs for a lexical scope (and corresponding line numbers) then see CodeGen/LexicalScopes pass. It collects lexical scope information and maps MIs to respective
2011 Oct 03
4
[LLVMdev] collect end line number for scope
Hi All,
int global;
int func( int t)
{
//scope 1
{
....
} <-----
return x;
}
For the above code, i want to collect endline (indicated by <---) for the scope. Can we get this information from the Dwarf Information in llvm 2.9 ?
Thanks & Regards,
Pankaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 May 08
2
LaTeX in system()
Dear list,
I want to run latex from an R script:
system("latex mysource.tex")
or:
texi2dvi("mysource.tex", pdf = TRUE, clean = FALSE, quiet = TRUE,
texi2dvi = latex)
but latex does not seem to be on the search path:
/bin/sh: line 1: latex: command not found.
Although 'printenv PATH' tells me that the usr/texbin is looked for
executables:
2009 Sep 12
2
[LLVMdev] IDE on *nix
Hi all,
Is anyone using any flavour of Unix to develop LLVM? I suppose the
Apple guys are using Mac, right? ;)
I've seen some docs on the website to set-up Visual Studio but I
haven't seen anything related to cross-platform IDEs (such as Eclipse)
and how to attach the tests to them.
So far I'm not doing any modifications to the LLVM and my project is
still too small to become a
2010 Feb 17
1
[LLVMdev] Incorrect codegen of getelementptr for ARM with JIT
> Inline the init function: store 11 at the address of the "value" variable,
> call printf with the string from r5. This is a bug, should have stored at an
> offset of four (str r1, [r4,4]).
Exactly! The IR is correct, the bug seems to be lower down.
I'm no expert in the ARM back-end, though. But your report is detailed
enough to help whoever is. ;)
cheers,
--renato
2010 Nov 24
1
[LLVMdev] Wiki to HTML docs - take 2
Hi all,
I spend the last two weeks looking for solutions to print HTML files
out of the wiki format.
I tried to create a Perl hack (wasn't generic enough), a C++
parser/printer (would take too long) and looked into Deplate and some
Wikimedia specific tools to convert to docbook, pdf and HTML. The last
one was the most successful one (printed a nice PDF) but the XHTML was
no good for Chrome
2011 Feb 18
2
[LLVMdev] DIFactory
Seems the last use of DIFactory in LLVM/Clang is in:
clang/lib/CodeGen/CGDebugInfo.cpp to get the enums
llvm::DIFactory::OpDeref and llvm::DIFactory::OpPlus.
Shouldn't this be moved to DIBuilder and remove the dependency completely?
--
cheers,
--renato
http://systemcall.org/
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
2009 Aug 31
3
[LLVMdev] rdynamic on Mac
Hi all,
My example compiler is working fine on Linux, including the extern'd
functions (via -rdynamic flag on linker), but a friend on a MacOS
(Darwin) cannot find the extern'd function.
LLVM ERROR: Program used external function 'printVar' which could not
be resolved!
I've read some posts on the web indicating problems with the -rdynamic
option on Mac's GCC, but I'm
2010 Apr 27
0
[LLVMdev] Phoronix: Benchmarking LLVM & Clang Against GCC 4.5
On 27 April 2010 08:18, Stefano Delli Ponti
<stefano.delliponti at gmail.com> wrote:
> FYI
> http://www.phoronix.com/scan.php?page=article&item=gcc_llvm_clang&num=1
For Apache and Dhrystone, the performance boost is good (but only the
former is really important), but for the rest, especially those with
image/sound processing, and HMMR, it's still far behind. Is this only
2016 Oct 03
3
On implementing zero-overhead code reuse
On Mon, Oct 3, 2016 at 10:18 AM, <frederik at ofb.net> wrote:
> Hi Kynn,
>
> Thanks for expanding.
>
> I wrote a function like yours when I first started using R. It's
> basically the same up to your "new.env()" line, I don't do anything
> with environmentns. I just called my function "mysource" and it's
> essentially a "source
2010 Sep 21
2
[LLVMdev] IR type safety
On 21 September 2010 17:48, Devang Patel <dpatel at apple.com> wrote:
> In the combined llvm IR, @p3 and @p won't match as expected.
Hi Devang,
That's not quite what I was thinking... Maybe I explained badly...
Imagine this:
-- a.ll --
%struct.x = type { i32, i32 }
%a = call void @func (%struct.x %b)
-- b.ll --
%struct.y = type { i32, i32 }
declare i32 @func (%struct.y)
2009 Jul 02
1
[LLVMdev] Newbie question
On Thu, Jul 2, 2009 at 2:15 PM, Duncan Sands<baldrick at free.fr> wrote:
> with llvm-g++ from subversion, and on x86-64 linux, I also see that
> virtual.llvm-gpp is larger than virtual.gpp, but by a factor of 3.
Hi Duncan,
I'm using mainstream 2.5 (from Ubuntu repo). I should be compiling the
svn tree this weekend, though.
> The sizes of the .o files are:
> g++: 9704
2009 Aug 19
1
[LLVMdev] Test compiler help
Hi All,
Thanks for all the ideas, seems that the easiest approach is to create
a single main function and work up the goto statement back and forth
and put a return at the end of every block to avoid unwanted state
change.
Although, if I ever want to merge two pieces of code, which is not at
all unlikely, I might have non-trivial problems. In that case, the
tail call optimization seems a good
2009 Sep 14
0
[LLVMdev] FYI: Phoronix GCC vs. LLVM-GCC benchmarks
2009/9/14 Edward O'Callaghan <eocallaghan at auroraux.org>:
> screw that site, its useless info run by a linux gnu zealot.
Well, being a Linux GNU zealot doesn't invalidate numbers. What does
invalidate is that he has no numbers!
He just fired a few applications and counted the seconds, this is
utterly pointless. No reference to how many times he ran, standard
deviations,
2009 Sep 15
0
[LLVMdev] IDE on *nix
Hi Renato,
I've been using LLVM with Eclipse for a while now. The way to do it is
to build LLVM with CMake and tell CMake to generate an Eclipse project
file, like so:
cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug"
-DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="X86;PowerPC;CBackend"
/home/renato/llvm-sources
You'll need to modify