search for: cc1as_main

Displaying 20 results from an estimated 27 matches for "cc1as_main".

Did you mean: cc1_main
2018 May 10
0
Assembly file compilation flow
Passing an assembly file to clang does not go through any CodeGen phases. It operates entirely in the MC layer. No MachineFunctions will be created. It just runs it through the MCAsmParser. Most of the setup for this is in clang's tools/driver/cc1as_main.cpp in the function ExecuteAssembler ~Craig On Thu, May 10, 2018 at 1:32 PM Soham Sinha via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hello, > > LLVM MC blog post > <http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html> explains > fairly well how the back...
2018 May 10
2
Assembly file compilation flow
Hello, LLVM MC blog post <http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html> explains fairly well how the backend MC project is working. However, it's not clear to me how LLVM converts an assembly file (.s) to an object file. The driver --verbose option is not giving me much information as well. I want to know the flow. Like, What CodeGen phases does this file pass through? Is
2020 Apr 23
7
Cannot build master
...overed-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++14 -MD -MT tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -MF tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o.d -o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -c /home/laguest/src/mine-new/llvm/llvm-project/clang/tools/driver/cc1as_main.cpp [5804/7319] : && /usr/lib/llvm/10/bin/clang++ -fPIC -fvisibility-in...
2012 Dec 17
0
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
...ccess to any target specific information . MipsELFObjectWriter is created during MipsAsmBackend construction which is create during an invocation of createMipsAsmBackend(). create<target>AsmBackend is called by: the codegen (integrated assembler) llvm-mc (standalone assembler) clang (cc1as_main.cpp) My solution for getting access of target specific data to <target>ELFObjecWriter was to pass a reference of SubtargetInfo to it through the <target>AsmBackend construction. For the integrated assembler this works well because what is really passed is a derived class of <target...
2012 Dec 15
2
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
On Fri, Dec 14, 2012 at 1:03 PM, Carter, Jack <jcarter at mips.com> wrote: > Eli, > > This is the kind of feedback I want. I believe I have to add to the base class so it should be generally useful. I can see string being better for the value. I still am enamoured with an enumeration for the tab though: int->string. How would that be a limitation? > I guess that's fine,
2020 Mar 28
2
LLD issue on a massively parallel build machine
...on-types -O3 -DNDEBUG -stdlib=libc++ -fuse-ld=lld -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Disassembler.a lib/libLLVMAArch64Info.a lib/libLLVMAAr...
2018 May 10
1
Assembly file compilation flow
...ect: Re: [llvm-dev] Assembly file compilation flow Passing an assembly file to clang does not go through any CodeGen phases. It operates entirely in the MC layer. No MachineFunctions will be created. It just runs it through the MCAsmParser. Most of the setup for this is in clang's tools/driver/cc1as_main.cpp in the function ExecuteAssembler ~Craig On Thu, May 10, 2018 at 1:32 PM Soham Sinha via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hello, LLVM MC blog post<http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html> explains fairly wel...
2020 Mar 28
3
LLD issue on a massively parallel build machine
...on-types -O3 -DNDEBUG -stdlib=libc++ -fuse-ld=lld -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Disassembler.a lib/libLLVMAArch64Info.a lib/libLLVMAAr...
2016 Jul 23
2
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
How big is your project? LTO eats RAM even faster than chrome. For example linking clang with LTO could take 16GB of ram. Have you tried using LTO on your project on that machine, or is it your first time? Piotr On Sat, Jul 23, 2016 at 2:42 AM, Sedat Dilek via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Thu, Jul 21, 2016 at 12:01 PM, Sedat Dilek <sedat.dilek at
2017 Sep 27
1
Build error
...verloaded-virtual -fno-strict-aliasing -g  -Wl,-allow-shlib-undefined   -Wl,--export-dynamic  -Wl,-rpath-link,/home/iulia/build/./lib tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o  -o bin/clang-5.0  lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmPrinter.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Info.a lib/libLLVMAArch64Disassembler.a lib/libLLVMAArch64Info.a lib/libLLVMAArch64Utils.a lib/libLLVMAMDGPUCodeGen.a lib/libLLVMAMDGPUAsmPrin...
2016 Jul 23
3
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
...Wno-nested-anon-types -O3 > -flto -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 > -Wl,--gc-sections > tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o > tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o > tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -o > bin/clang-3.8 lib/libLLVMX86CodeGen.a lib/libLLVMX86AsmPrinter.a > lib/libLLVMX86AsmParser.a lib/libLLVMX86Desc.a lib/libLLVMX86Info.a > lib/libLLVMX86Disassembler.a lib/libLLVMAnalysis.a > lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMipo.a > lib/libLLVMInstCombine....
2020 Mar 28
2
LLD issue on a massively parallel build machine
...+ -fuse-ld=lld -Wl,--color-diagnostics >> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >> tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o >> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o >> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o >> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o >> -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a >> lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a >> lib/libLLVMAArch64Disassembler.a lib/...
2020 Mar 28
3
LLD issue on a massively parallel build machine
...ostics >>>> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >>>> tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o >>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o >>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o >>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o >>>> -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a >>>> lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a >>>> lib/li...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...; -stdlib=libc++ -fuse-ld=lld -Wl,--color-diagnostics > -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 > tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o > tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o > tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o > tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o > -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a > lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a > lib/libLLVMAArch64Disassembler.a lib/libLLVMAArch64In...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...Wl,--color-diagnostics >>> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >>> tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o >>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o >>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o >>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o >>> -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a >>> lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a >>> lib/libLLVMAArch64Disa...
2020 Apr 01
4
LLD issue on a massively parallel build machine
...gt;>> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o >>>>> -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a >>>>> lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a >>>...
2015 Nov 30
3
difference with autotools, cmake and ninja building methods
2015-11-30 12:58 GMT+08:00 Chris Bieneman <beanz at apple.com>: > The autotools build system is officially deprecated and will be removed in a > future release. > > CMake is the recommended configuration system, but it is only a > configuration system. It generates build files for multiple different build > systems. One of the most popular build systems is Ninja. You cannot
2011 Oct 25
2
[LLVMdev] [LLVMDev] Clang stopped compiling?
Hi, I'm trying to compile the latest clang/llvm SVN versions and I get this error on multiple systems : (Compiling with gcc): llvm[4]: Compiling cc1_main.cpp for Debug+Asserts build llvm[4]: Compiling cc1as_main.cpp for Debug+Asserts build llvm[4]: Compiling driver.cpp for Debug+Asserts build llvm[4]: Linking Debug+Asserts executable clang /home/hades/data/Tesi/llvm-build/Debug+Asserts/lib/libclangSema.a(SemaExpr.o): In function `clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOp...
2020 Apr 01
2
LLD issue on a massively parallel build machine
...b-undefined -Wl,--export-dynamic -Wl,-O3 > >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o > >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o > >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o > >>>>> tools/clang/tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o > >>>>> -o bin/clang-11 -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMAArch64CodeGen.a > >>>>> lib/libLLVMAArch64AsmParser.a lib/libLLV...
2015 Dec 01
4
difference with autotools, cmake and ninja building methods
...ions -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 tools/clang/tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/clang/tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -o bin/clang-3.8 lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmPrinter.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Info.a lib/libLLVMAArch64Disassembler.a lib/libLLVMAMDGPUCodeGen.a lib/libLLVMAMDGPUAsmPrinter.a lib/libLLVMAMDGPUAsmParser.a lib/libLLVMAMDGP...