[LLVMdev] Creating a new project using LLVM

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Mon Jul 2 22:49:31 PDT 2012


> When I replaced gcc by clang, how do I ensure that the clang use the
> LLVM backend that is already modified by myself? I am trying to
> modified the source code for the register allocator of the llvm and
> want to apply this modification to the clang compiler. I see that when
> I compile the whole modified llvm project from scratch, it does not
> produce a Clang executable. The clang that exists in my computer is
> from the package I downloaded from the internet (I downloaded this in
> need of compiling the llvm project. ).

  Do you compile LLVM/Clang at the same time? If you modify LLVM and want to use
clang to compile your project, please follow the instuctions on [1].

HTH,
chenwj

[1] http://clang.llvm.org/get_started.html

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list