similar to: [LLVMdev] Newbie question on Clang

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Newbie question on Clang"

2009 Aug 26
0
[LLVMdev] [Stackless] [C++-sig] [Boost] Trouble optimizing Boost.Python integration for game development (it seems too slow)
On Wed, Aug 26, 2009 at 4:41 AM, Dan Sanduleac<sanduleac.dan at gmail.com> wrote: > Oh, I see. Didn't think of this, thanks! > > So, just to be clear, there's no binding overhead in Cython because the > functions defined there are pure python, right? (The function objects I > mean). Whereas the ones I defined in Boost are more expensive to call. > > On Wed, Aug
2016 Jun 02
2
issue: IMPORTANT: APT repo temporary switched off
On 2 June 2016 at 19:50, Richard Gomes via llvm-dev <llvm-dev at lists.llvm.org > wrote: > Since the APT repository is down... everything under that location is > unavailable, including the instructions on how I could build/install > LLVM/clang from sources. Could you guys advise, please? > You can quickly start here... http://clang.llvm.org/get_started.html at least until we
2004 May 03
4
ctags(1) command execution vulnerability
Hello, ctags(1) uses external application sort(1) for sorting the tags file. It calls it via system(3) function. Look at the /usr/src/usr.bin/ctags/ctags.c file, there are such lines here: if (uflag) { (void)asprintf(&cmd, "sort -o %s %s", outfile, outfile); if (cmd == NULL) err(1, "out of space"); system(cmd); free(cmd); cmd = NULL; } This code will be
2006 Sep 21
0
[PATCH] Clean up and enhance "make tags"
# HG changeset patch # User agriffis@vino.americas.hpqcorp.net # Date 1158803249 14400 # Node ID 010ae57673c7103737b84044eaa57a43347a0f0e # Parent 596b0e4fbef4069bfb3ee9807f2ccfdd65052c46 Clean up and enhance "make tags" - delete correct file in _tags rule - don''t prune nonexistent files/dirs - call exuberant-ctags with additional flags from Linux: -I to ignore some
2007 Mar 06
1
Merging stats from multiple databases for expand
In matcher/expandweight.cc we have: OmExpandBits operator+(const OmExpandBits &bits1, const OmExpandBits &bits2) { OmExpandBits sum(bits1); sum.multiplier += bits2.multiplier; sum.rtermfreq += bits2.rtermfreq; // FIXME - try to share this information rather than pick half of it if (bits2.dbsize > sum.dbsize) { DEBUGLINE(WTCALC,
2012 Nov 29
2
[LLVMdev] operator overloading fails while debugging with gdb for i386
For the given test: class A1 { int x; int y; public: A1(int a, int b) { x=a; y=b; } A1 operator+(const A1&); }; A1 A1::operator+(const A1& second) { A1 sum(0,0); sum.x = x + second.x; sum.y = y + second.y; return (sum); } int main (void) { A1 one(2,3); A1 two(4,5); return 0; } when the exectable of this code is debugged in gdb for i386, we dont get the
2011 Jan 23
0
Error for compiling Rquantlib package 0.3.5 under Window 7 64bits
Hi, I am trying to build a binary of Rquantlib package 0.3.5 under Window 7 64bits. I am using mingw gcc version 4.5.1 (tdm64-1) which is a experimental version of 64 bits ming gcc. (http://tdm-gcc.tdragon.net/). I have successfully compiled boost 1.45 and Quantlib 1.0.1 with this gcc. And then when I tried to compile Rquantlib 0.3.5, it reports some error. The first error is like below.
2012 Dec 01
0
[LLVMdev] operator overloading fails while debugging with gdb for i386
Problem seems not only with operator overloading, It occurs with struct value returning also. gdb while debugging expects the return value in eax, gcc does returns in eax, But Clang returns in edx(it can be checked in gdb by printing the contents of edx). Code(sample code) struct A1 { int x; int y; }; A1 sum(const A1 one, const A1 two) { A1 plus = {0,0}; plus.x = one.x + two.x; plus.y
2008 Feb 11
1
ctags support for puppet
This is a quick and dirty .ctags file that makes basic navigation possible with vim and ctags, great if you have multiple files: --langdef=puppet --langmap=puppet:.pp --regex-puppet=/^class[ \t]*([a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/ --regex-puppet=/^site[ \t]*([a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/ --regex-puppet=/^node[ \t]*([a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/ --regex-puppet=/^define[
2013 Apr 06
0
rsync 3.0.9 partial file left after CTRL-C WITHOUT using --partial
Hi Justin No i did a test setup after getting to it in real life. In this test setup: - rsync (daemonless) is run - ctrl-c, - results are checked, - dest directory is deleted and so on. in 50 % the file is left over. i can reproduce it on a big fat slow (relative to a small ext4 partition on same lvm) xfs-partition. If i do this on root I even if I manage tp ctrl-c at the right time, I
2011 Jan 14
1
[LLVMdev] Building Boost library failed with Clang 2.9
I tried building boost 1.45 release with clang 2.9 following instructions on http://blog.llvm.org/2010/05/clang-builds-boost.html but got the following result: $ clang++ --version clang version 2.9 (trunk 123420) Target: x86_64-apple-darwin10 Thread model: posix $ ./bjam toolset=clang Building the Boost C++ Libraries. Performing configuration checks - has_icu builds : no
2005 Apr 15
0
[PATCH] add cscope support to xen Makefile
Add cscope support to xen Makefile. While at it, refactor a bit so etags, ctags, and cscope use same method to generate file list. Signed-off-by: Chris Wright <chrisw@osdl.org> --- xen/Makefile | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) ===== xen/Makefile 1.78 vs edited ===== --- 1.78/xen/Makefile 2005-03-28 13:51:31 -08:00 +++ edited/xen/Makefile
2011 Apr 01
0
Wine release 1.3.17
The Wine development release 1.3.17 is now available. What's new in this release (see below for details): - Implementation of the new Vista file dialogs. - Initial support for patching in MSI installers. - Improvements to the calendar control. - A few fixes for file associations. - Menus cleaned up in built-in applications. - Various bug fixes. The source is available from the
2011 Mar 11
2
Running Hitec HPP-22 under wine. (RC device, USB)
I use the Hitec Aurora 9 (A9) transmitter for my remote control vehicles. http://www.hitecrcd.com/products/aircraft-radios-receivers-and-accesories/aircraft/aurora9/aurora-9-2-4ghz.html This transmitter is part of a system of devices. One of the devices in this system is the HPP-22, which is a USB device that allows a computer to communicate with the A9 in order to load and save model
2012 Dec 01
2
[LLVMdev] operator overloading fails while debugging with gdb for i386
Hi, Structures are passed by pointer, so the return value is not actually in eax. That code gets transformed into something like: void sum(A1 *out, const A1 one, const A1 two) { out->x = one.x + two.x out->y = one.y + two.y } So actually the function ends up returning void and operating on a hidden parameter, so %eax is dead at the end of the function and should not be being relied
2012 Dec 02
0
[LLVMdev] operator overloading fails while debugging with gdb for i386
Hi, As you told that function ends up returning void, I just confirmed it in the IR, the function is defined as: define *void* @_Z3sum2A1S_(*%struct.A1* noalias sret %agg.result*, %struct.A1* byval align 4 %one, %struct.A1* byval align 4 %two). But when i checked the register values in g++, eax contains an address of stack, which points to the value (object) returned by sum. That is if we
2009 Sep 29
1
Error (IMHO) with --with-doc option
Hi, I was trying to create complete rpm package for my system, containing dovecot 1.2.5 intregrated with dovecot-sieve and dovecot-managesieve. Finally I succeeded and it works great, but I found something that might be treated as wrong behaviour... When you run ./configure --with-docs=no, Makefile does not build docs anymore, but... installs them anyway :) It caused some troubles because
2014 Mar 18
0
Writing R Extensions: clarification/modification request
Hello R-core developers, The upcoming release of R-3.1.0 is exciting, especially the support structure changes for c++11! But, just the other day I encountered an issue with the package creation tools within Rcpp and Dirk referred me to 'Writing R Extensions' [footnote 13] along with the comment that `.hpp` file extensions are "verboten" on CRAN and then proceeded to find
2013 Apr 05
3
Fwd: rsync 3.0.9 partial file left after CTRL-C WITHOUT using --partial
Hi folks, man page says "By default, rsync will delete any partially transferred file if the transfer is interrupted" I have (reproducible) a partial file left, if I do CTRL-C source-dir: mounted LVM XFS dest-dir: see source-dir Ubuntu 12.04.1 (LTS) kernel 3.2.0-39-generic command: rsync -a
2009 May 12
1
[LLVMdev] MSVC cstdint
In the llvm file include/llvm/Support/DataTypes.h (.in/.cmake), for MSVCit defines some macros that are defined in the cstdint.hpp file in boost (and boost does it better, detailed below): The basic error is: R:\SDKs\boost\built_head\include\boost-1_38\boost/cstdint.hpp(347) : warning C4005: 'INT8_C' : macro redefinition