search for: getarchname

Displaying 7 results from an estimated 7 matches for "getarchname".

2014 Jul 09
5
[LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
....Default(Triple::NoSubArch); -} - static const char *getObjectFormatTypeName(Triple::ObjectFormatType Kind) { switch (Kind) { case Triple::UnknownObjectFormat: return ""; @@ -395,7 +381,6 @@ Triple::Triple(const Twine &Str) : Data(Str.str()), Arch(parseArch(getArchName())), - SubArch(parseSubArch(getArchName())), Vendor(parseVendor(getVendorName())), OS(parseOS(getOSName())), Environment(parseEnvironment(getEnvironmentName())), @@ -413,7 +398,6 @@ Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &amp...
2015 Sep 24
2
TargetTriple issue: LC_VERSION_MIN_MACOSX: Darwin kernel version vs SDK version
...directive from being emitted. Hopefully, that // will get fixed by LLVM 3.8... // // See LLVM bug 24927: https://llvm.org/bugs/show_bug.cgi?id=24927#if defined(OSX) #if (LLVM_VERSION_MAJOR < 3) || ((LLVM_VERSION_MAJOR == 3) && (LLVM_VERSION_MINOR < 8 )) triple = Triple(triple.getArchName(), triple.getVendorName(), "darwin", triple.getEnvironmentName()); #endif #endif This prevents the LC_VERSION_MIN_MACOSX directives from being emitted into the LLVM generated object files. Any suggestions how to go...
2011 Nov 29
1
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
So, is there an agreement now? In particular, is it fine to have the asan run-time for linux x86/x86_64 at lib/clang/linux/TC.getArchName())/libclang_rt.asan.a ? Thanks, --kcc On Mon, Nov 28, 2011 at 12:53 PM, Daniel Dunbar <daniel at zuster.org> wrote: > Hey Chandler, > > We already have a certain precedent for how we do this on Darwin. The > current library set is: > -- > $ find lib/clang/3.1/lib > li...
2011 Nov 28
0
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
Hey Chandler, We already have a certain precedent for how we do this on Darwin. The current library set is: -- $ find lib/clang/3.1/lib lib/clang/3.1/lib lib/clang/3.1/lib/darwin lib/clang/3.1/lib/darwin/libclang_rt.10.4.a lib/clang/3.1/lib/darwin/libclang_rt.cc_kext.a lib/clang/3.1/lib/darwin/libclang_rt.eprintf.a lib/clang/3.1/lib/darwin/libclang_rt.ios.a
2015 Jan 27
7
[LLVMdev] Embedding cpu and feature strings into IR and enabling switching subtarget on a per function basis
I've been investigating what is needed to ensure command line options are passed to the backend codegen passes during LTO and enable compiling different functions in a module with different command line options (see the links below for previous discussions). http://thread.gmane.org/gmane.comp.compilers.llvm.devel/78855 http://thread.gmane.org/gmane.comp.compilers.llvm.devel/80456 The command
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...td::vector<std::__cxx11::basic_string<char> >&) const': /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5499:67: error: cannot convert 'llvm::ARM::ArchKind' to 'unsigned int' in initialization unsigned Arch = llvm::ARM::parseArch(getTriple().getArchName()); ^ /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5502:58: error: cannot convert 'unsigned int' to 'llvm::ARM::ArchKind' for argument '2' to 'unsigned int llvm::ARM::getDefaultFPU(ll...
2011 Nov 23
2
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
It has come up when reviewing Kostya's patch to add the necessary support fort linking in the Address Sanitizer runtime library that we need a proper scheme and plan for deploying runtime libraries along with Clang. I've CC'ed llvmdev on this for compiler-rt developers' input. The key issues I see when locating runtime libraries are the following: - These libraries should be