search for: codesourcery

Displaying 20 results from an estimated 508 matches for "codesourcery".

2017 Mar 04
2
[llvm-lit] Is it possible to write a test for Linux only?
It is $target dependent. I’m curious what makes you think it is $host dependent. Thanks, Taewook On 3/3/17, 5:10 PM, "Jonathan Roelofs" <jonathan at codesourcery.com> wrote: On 3/3/17 12:23 PM, Taewook Oh wrote: > Thanks Jon. Actually I tried “x86_64-linux”, but it makes the test “Unsupported” from my linux machine, and it was because my test is under clang, not llvm. It seems that clang doesn’t support “x86_64-linux” yet. Thanks ag...
2015 Apr 09
2
[LLVMdev] BasicBlock.h in the binary and in the source differ
The source is cloned from https://github.com/llvm-mirror/llvm Thanks. Zhoulai On Thu, Apr 9, 2015 at 9:15 AM, Jonathan Roelofs <jonathan at codesourcery.com> wrote: > > > On 4/9/15 9:58 AM, Zhoulai wrote: > >> Hi, I am using LLVM to develop a tool, using Mac OS 10.9. I have >> download llvm source and binary from >> >> http://llvm.org/releases/download.html >> >> I just find the BasicBlock.h file...
2017 Mar 03
2
[llvm-lit] Is it possible to write a test for Linux only?
.... Actually I tried “x86_64-linux”, but it makes the test “Unsupported” from my linux machine, and it was because my test is under clang, not llvm. It seems that clang doesn’t support “x86_64-linux” yet. Thanks again! Best, Taewook On 3/3/17, 10:57 AM, "Jonathan Roelofs" <jonathan at codesourcery.com> wrote: On 3/3/17 11:46 AM, Taewook Oh via llvm-dev wrote: > Hello, > > > > I wonder if I can write a test that runs only on Linux. I was thinking > of adding “REQUIRES” to the test, but couldn’t find a feature name for > Linux...
2015 Jan 15
2
[LLVMdev] Bug in InsertElement constant propagation?
...to create a ConstantDataVector from Constant or form APFloat though. Did I oversee that? Is the solution to had a new get function in ConstantDataVector to allow that? Any hint on what would be the right fix otherwise? Thomas -----Original Message----- From: Jonathan Roelofs [mailto:jonathan at codesourcery.com] Sent: Wednesday, January 14, 2015 10:30 AM To: Raoux, Thomas F; LLVM Developers Mailing List Subject: Re: [LLVMdev] Bug in InsertElement constant propagation? On 1/14/15 11:12 AM, Raoux, Thomas F wrote: > Ha here is what I was missing. Thanks Jon. It still seems to me that the transform...
2014 Apr 17
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Thu, Apr 17, 2014 at 8:37 PM, Jonathan Roelofs <jonathan at codesourcery.com > wrote: > How about per-thread if the counter is hot enough? > Err. How do you know if the counter is hot w/o first profiling the app? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140417/f3...
2009 Jul 03
4
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...u=cortex-a8". I was trying to build a cross compiler for a Mac host. Now I am trying to build on x86_64 Linux. I am targeting a Beagle board with an ARM Cortex-A8 and Angstrom Linux. TRIED: to use the script in llvm/utils/crosstool/ARM/build-install-linux.sh I used the recommended version of CodeSourcery and the same SVN revision. RESULT: llvm-gcc builds but when I try to use it I get "as: unrecognized option `-meabi=4'" TRIED: using the latest CodeSourcery 2009q1 and latest LLVM REV 74564 RESULT: llvm-gcc failed to build with this error: /tmp/ccVSwC0h.s:535: Error: selected pr...
2014 Jun 24
2
[LLVMdev] [cfe-dev] [PATCH] triples for baremetal
Hi Jonathan, This looks a bit odd. Any reason for the unknown->none conflating in this way? For most (all) of the ports unknown-elf works the same as none-elf. I'm also not sure if someone decided to have, arm-codesourcery-elf that this would still work with the patch. Thoughts? -eric On Tue, Jun 24, 2014 at 7:35 AM, Amara Emerson <amara.emerson at gmail.com> wrote: > Hi Jon, > > This looks reasonable to me. > > Cheers, > Amara > > On 24 June 2014 14:58, Jonathan Roelofs <jonathan...
2016 Aug 25
2
InstList insert depreciated?
Jon, > You want: > TaintVar->insertAfter(FirstI); This worked! Thank you. On Thu, Aug 25, 2016 at 9:38 AM, Jonathan Roelofs <jonathan at codesourcery.com> wrote: > > > On 8/25/16 7:01 AM, Shehbaz Jaffer via llvm-dev wrote: >> >> I tried an alternative way of adding instruction by first getting the >> first instruction of the basic block, and then calling insertAfter() >> on it as follows: >> >> a...
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...Thanks for replying. The message "as: unrecognized option `-mcpu=cortex-a8'" is the same message I get when I just enter: as -mcpu=cortex-a8 So I think I llvm-gcc is using the Linux i386 assembler to assemble ARM code. Not good. What assembler is it supposed to use? The one in CodeSourcery? > But how's assembler actually called? Just try to compile something > with extra -v option added Did: llvm-gcc -v simple.c ------------------------------------------- Using built-in specs. Target: arm-none-linux-gnueabi Configured with: /home/neel/xllvm/build-xl/src/llvm-gcc-4.2/con...
2014 Jun 19
2
[LLVMdev] [PATCH] triples for baremetal
...er to use 'none' or rather just omit that part of the triple. So on those, I've left them to use Triple::UnknownOS. Cheers, Jon On 6/17/14, 11:11 AM, Eric Christopher wrote: > Agreed. > > -eric > > On Tue, Jun 17, 2014 at 9:54 AM, Jonathan Roelofs > <jonathan at codesourcery.com> wrote: >> [+llvmdev, -llvm-dev] >> >> (Oopsies, llvmdev doesn't have a hyphen in it like all the others do) >> >> >> On 6/17/14, 10:45 AM, Jonathan Roelofs wrote: >>> >>> [+llvm-dev, cfe-dev] >>> >>> Was "Re: [...
2015 Jan 20
2
[LLVMdev] Bug in InsertElement constant propagation?
.../// element. The specified constant has to be a of a compatible type (i8/i16/ /// i32/i64/float/double) and must be a ConstantFP or ConstantInt. static Constant *getSplat(unsigned NumElts, Constant *Elt); Cheers, Thomas -----Original Message----- From: Jonathan Roelofs [mailto:jonathan at codesourcery.com] Sent: Thursday, January 15, 2015 6:36 AM To: Raoux, Thomas F; LLVM Developers Mailing List Subject: Re: [LLVMdev] Bug in InsertElement constant propagation? I'm not sure what the right fix is. I don't see a way to get the float out of APFloat without a copy happening. The usual trick...
2011 Nov 24
1
[LLVMdev] arm neon intrinsics cross compile error on windows system
Hello, James Molly. Thank you for your advices. Now I aware that this is the problem of stdint.h. And, codesourcery toolchain also has stdint.h header file at same place of stdio.h Generally, Clang has "lib/clang/3.0/include" default search path. If I added codesourcery toolchain path for stdio.h with -I option, stdint.h has been loaded at the specified toolchain path first cuz clang's default sea...
2015 Jun 10
4
[LLVMdev] The use iterator not working...
...t. Did it always have this behavior in previous LLVM versions? I've seen lots of examples of the "use" iterator being dereferenced and resulting Instruction pointer being treated as the "user"? Thanks, Zack On Tue, Jun 9, 2015 at 7:25 PM, Jonathan Roelofs <jonathan at codesourcery.com> wrote: > > > On 6/9/15 8:02 PM, Zack Waters wrote: > >> Hi, >> >> I'm having a problem with the use iterator. Each "use" that I see, when >> using the use_iterator, is the same as the "def". Meaning, in the code >> below the...
2014 Oct 27
2
[LLVMdev] Libcxx buildbot
I'm not sure that test have ever been run through LIT. It was tested on Android, but I don't have LIT tweaked for libc++abi the same way I do for libc++, so it was built outside of LIT and run manually. On Oct 27, 2014 11:41 AM, "Jonathan Roelofs" <jonathan at codesourcery.com> wrote: > > > On 10/27/14 11:39 AM, Renato Golin wrote: > > Right now, there's only one failure remaining, which I'm investigating. > > > > backtrace_test.cpp:59: int main(): Assertion `nothrow_ntraced > 1' > failed. > See also: > http://li...
2014 Sep 17
3
[LLVMdev] Measure execution time of each basic block
...head I would be able to get the A > B information? Like: overhead + time(A) > overhead + time(B) => A > B. If so, I'm not too much concerned about the accuracy. Not sure if I was clear, Thanks again Vanderson M. Rosario 2014-09-17 17:26 GMT-03:00 Jonathan Roelofs <jonathan at codesourcery.com>: > I think if you do this, you're quickly going to realize that there's quite > a lot of overhead in getting the time stamps needed to record basic block > duration, so you're not going to get accurate results except for really big > basic blocks. > > > Che...
2012 Jul 18
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
...rote: > I'm not sure how to interpret the above output, but I don't understand > why if say -triple armv4t-none--gnueabi . Ok, we're getting there... ;) I think these errors are due to Clang not finding the libraries/includes/etc for the target you're building. If you have CodeSourcery's GCC, use that (via --sysroot or -ccc-gcc-name I said earlier), it's by far the easiest way. I'm not sure compiler-rt is ready for prime time (someone else might chip in), but that might be an alternative, though I have no idea how to use it. -- cheers, --renato http://systemcall.o...
2015 Mar 12
3
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
2015-03-12 10:49 GMT-05:00 Jonathan Roelofs <jonathan at codesourcery.com>: > You need to build a sysroot from the lib and include directories in > ~/research/musl-1.1.6 combined with the same folders from > /usr/local/arm-2009q, then use `--sysroot` instead of the `-I`s and `-L's. I copied everything from the lib in musl-1.1.6 to arm-2009q3/arm-no...
2014 Jun 17
4
[LLVMdev] triples for baremetal
...ote: > [+llvm-dev, cfe-dev] > > Was "Re: [PATCH] ARM: allow inline atomics on Cortex M" > > On 6/17/14, 10:42 AM, Jonathan Roelofs wrote: >> >> >> On 6/17/14, 9:35 AM, Renato Golin wrote: >>> On 17 June 2014 16:29, Jonathan Roelofs <jonathan at codesourcery.com> wrote: >>>> Attached is what I now think the patch ought to be. >>> >>> Does unknownOS *always* mean bare-metal? >> I'm not sure. It might be a good time to fork this thread, and start another >> about triples for bare-metal... > > Persona...
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
..., but I don't understand >> why if say -triple armv4t-none--gnueabi . > > Ok, we're getting there... ;) Glad you are confident. :-) > I think these errors are due to Clang not finding the > libraries/includes/etc for the target you're building. > > If you have CodeSourcery's GCC, use that (via --sysroot or > -ccc-gcc-name I said earlier), it's by far the easiest way. emitrax at xartimequad:~/programming$ which arm-none-linux-gnueabi-g++ /home/emitrax/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ emitrax at xartimequad:~/programming$ find /...
2016 Nov 16
2
Incorrect / missing dependencies in llvm build?
...> > llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev> > > > > -- > Jon Roelofs > jonathan at codesourcery.com <mailto:jonathan at codesourcery.com> > CodeSourcery / Mentor Embedded > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > http://lists.llvm.org/cgi-bin...