Displaying 20 results from an estimated 3000 matches similar to: "Compiling LLVM to LLVM IR"
2015 Sep 09
5
Building LLVM and Clang using Clang?
Try as I might I can't seem to get LLVM to bulid using clang/clang++.
No matter what I do it insists on using /usr/bin/cc and /usr/bin/c++
which are gcc. Am I missing something obvious? I vaguely remember some
document describing a stage1 compiler built by your old toolchain and
a stage2 compiler but I can't find the steps to do that any more.
$ CC=/usr/local/bin/clang
2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
On Thu, Mar 17, 2016 at 11:45 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Thu, Mar 17, 2016 at 10:05 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote:
>> [ brutal-snip ]
>> ...
>>> [ TODO#S: Before doing a 2nd build (and in a 3rd run using more
>>>
2009 May 25
1
[LLVMdev] Building LLVM with cmake on FreeBSD
Török Edwin wrote:
> On 2009-05-24 20:38, Chuck Robey wrote:
>> Óscar Fuentes wrote:
>>
>>> Chuck Robey <chuckr at telenix.org> writes:
>>>
>>>
>>>>> Just checked that the makefiles generated by cmake work with `make' on
>>>>> FreeBSD 7.2 x86. The build fails while building `opt' because libdl is
2017 Jul 31
1
exit block
Yes, that’s right. Some LLVM terminology though: The blocks you mention, are called the “exiting blocks” of the loop, and the blocks outside the loop (that are the targets of these exiting blocks) are called the exit blocks.
getExitingBlocks in LoopInfoImpl.h is the code you’re interested in.
By definition: one of the successor’s of the exiting block is an exit block, and it should have another
2015 Sep 10
2
LibFuzzer and platforms availability
r247321 refactors the code so that it should build on Mac.
I haven't actually tested it on Mac -- so please help me and send follow up
patches if needed.
check-fuzzer will still fail because some of the libFuzzer tests require
dfsan.
I'd use some help from someone with a Mac to modify
lib/Fuzzer/test/CMakeLists.txt so that it does not run dfsan-dependent
tests on Mac.
Thanks,
--kcc
On
2016 Apr 11
2
Creating an LLVM Project
Hi there,
I have a question regarding this documentation page: http://llvm.org/docs/Projects.html
IIRC LLVM has moved away from Makefile's and uses CMake only.
The question is:
Is the page outdated or is it a recommended way for creating LLVM based project?
P.S. I’m trying to create a project using CMake, though I’m seeing some issues (didn’t manage to include headers so far).
--
2014 May 09
2
[LLVMdev] Build failure with libcxx
Hi,
Recently my libcxx enabled llvm/clang builds has started to fail in stage2.
I must admit I am stomped because I cannot make sense of the error:
[ 723s] FAILED: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang++
-DLLVMSupport_EXPORTS -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -stdlib=libc++ -fPIC
-fvisibility-inlines-hidden -Wall -W
2016 Jun 30
3
Building LLVM under Cygwin32 fails
I am updating our out-of-tree copy of LLVM to track the head (revision
#272991 specifically).
I have it building successfully with VC++ 2013 and CMake v3.5.2 on Windows,
and with GCC v4.8.5 and CMake v3.5.2 on CentOS; but when I try building on
Windows using Cygwin32 I get the following build failures:
[ 4%] Building CXX object
lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
In file
2016 Apr 05
3
[llvm-c] Deprecated functions
Hi everyone,
I’m working with the LLVM C API now.
I see that several functions are deprecated, however the only notion is in comments around the function.
Is there any specific reason why __attribute__((deprecated)) is omitted?
Will it make sense to send a patch with such additions?
--
AlexDenisov
Software Engineer, http://lowlevelbits.org
-------------- next part --------------
A non-text
2014 May 12
2
[LLVMdev] Build failure with libcxx
Ok looks like r207606 regressed this. CC'ing Niko.
Niko, please see the messages below. This is on openSUSE 13.1 both on i586
and x86-64. Reverting r207606 fixes the second stage bootstrap.
On Sun, May 11, 2014 at 10:19 PM, İsmail Dönmez <ismail at donmez.ws> wrote:
> I did a diff -u broken.ii working.ii and the difference explains the
> problem:
>
> @@ -36617,7 +36628,7
2017 Jun 04
2
LLVM compilation problem with musl
I'm trying to compile LLVM with musl libc library. The compilation process fails on the following:
x86_64-linux-musl-g++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I../lib/Support -Iinclude -I../include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter
2017 Jan 05
2
LLVM-based Mutation Testing, first results.
Hello, everybody.
We are working on a tool for mutation testing. The work is still in progress and far away from being done.
However, we have got some results already. And we would like to share them with you.
But, let me give you a brief introduction first.
### Mutation Testing
In a nutshell, Mutation Testing is a way to evaluate a quality of a test suite.
The approach suggests introducing a
2017 Jan 25
2
LLVM 3.9.1 build race?
Hi Folks,
I am building LLVM 3.9.1 using the Yocto build system for a cross build. The compiled bins/libs work totally fine on the target machine however there seems to be an intermittent race condition during the build which causes a build failure. On the failed builds I usually see things being linking/compiling twice e.g.
Linking CXX static library ../libLLVMSupport.a
cd
2018 May 30
3
Miscompilation while switching from clang-4 to clang-5
Hello everyone,
I observe a weird behavior switching from clang-4 to clang-5 (and any higher version).
I compile an executable that depends on LLVM. Everything works fine with clang-4, but when I run the executable compiled with clang-5 I see the following error:
: CommandLine Error: Option 'rewrite-map-file' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine
2017 Jul 13
2
How to add custom instrumentation?
Hi everyone,
I run some functions using ORC JIT, now I need to add custom instrumentation.
I want to add two callbacks to each function: ‘enterFunction' at the beginning and ‘leaveFunction' at the end.
Intuition says that I could ‘just' insert CallInst's to the first and the last basic blocks in the function.
Am I correct? Are there any other/better way to do this? Is there
2019 Jan 23
2
Windows/Clang build instrumented/PGO
Hello LLVM developers,
Following some hints on this mailing list earlier this year on how to make
clang faster than stock llvm.org builds I have implemented a script that
builds a PGO optimized version of clang by following the guide here:
http://llvm.org/docs/HowToBuildWithPGO.html
This works great on macOS and Linux - we gained almost 15% in our project
with this technique. I am now looking at
2016 Jul 31
2
[Release-testers] [3.9 Release] Release Candidate 1 has been tagged
Hi,
On the OpenMandriva side, x86_64 passes all checks. We're having some
problems with other architectures though (see below):
x86_64 succeeded, packages are here:
https://abf.openmandriva.org/build_lists/76792
i586 fails to build, but this seems to be an issue with 3.8.1 (which we're
using to build 3.9):
/usr/bin/clang++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS
2017 Mar 26
2
Communication channel for EuroLLVM
Hi there,
I’m curious is there any (official or not) communication channel for upcoming EuroLLVM?
If there is none besides mailing lists and IRC, shall we then setup something like Slack?
--
AlexDenisov
Software Engineer, https://lowlevelbits.org
2017 Oct 09
2
Is llvm.org down?
There seems to be an issue with DNS:
> nslookup llvm.org
;; Got SERVFAIL reply from 192.168.178.1, trying next server
Server: 192.168.178.1
Address: 192.168.178.1#53
** server can't find llvm.org: NXDOMAIN
--
AlexDenisov
Software Engineer, https://lowlevelbits.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type:
2015 Sep 09
3
LibFuzzer and platforms availability
Hi there.
I’m trying to use LibFuzzer on OSX and face some issues:
I checked out LibFuzzer documentation[1] and managed to proceed until the final step of the first example.
Now I see linker errors related to dfsan, dfsan’s documentation[2] states explicitly “DataFlowSanitizer is a work in progress, currently under development for x86_64 Linux.”.
Does it mean that LibFuzzer available only on