search for: getos

Displaying 14 results from an estimated 14 matches for "getos".

Did you mean: gecos
2014 Jun 19
2
[LLVMdev] [PATCH] triples for baremetal
...================================================== --- lib/Driver/Tools.cpp (revision 211122) +++ lib/Driver/Tools.cpp (working copy) @@ -675,7 +675,7 @@ default: // Assume "soft", but warn the user we are guessing. FloatABI = "soft"; - if (Triple.getOS() != llvm::Triple::UnknownOS || + if (Triple.getOS() != llvm::Triple::NoneOS || !Triple.isOSBinFormatMachO()) D.Diag(diag::warn_drv_assuming_mfloat_abi_is) << "soft"; break; @@ -756,7 +756,7 @@ // The backend is hardwired to assume AAPCS...
2014 Jun 17
4
[LLVMdev] triples for baremetal
[+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: [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
2013 Jan 07
0
[LLVMdev] How to output a .S *and* a .OBJ file?
...Type FileType_S = TargetMachine::CGFT_AssemblyFile; TargetMachine::CodeGenFileType FileType_OBJ = TargetMachine::CGFT_ObjectFile; //if ( DoCompileObj ) { //} else if ( DoCompileS ) { OwningPtr<tool_output_file> Out_S(GetOutputStream(FileType_S, TheTarget->getName(), TheTriple->getOS(), "BasicParser.exe")); if ( !Out_S) { printf( "Error creating output file\n" ); return false; } OwningPtr<tool_output_file> Out_OBJ(GetOutputStream(FileType_OBJ, TheTarget->getName(), TheTriple->getOS(), "BasicParser.exe")); if ( !Out_OBJ) {...
2018 Nov 29
2
apt.llvm.org has the wrong binaries/headers for llvm-toolchain-xenial-7
...vm-7-dev_7.0.1~svn347285-1~exp1~20181124105320.40_amd64.deb > > tar xvf data.tar.xz > > grep Hurd usr/include/llvm-7/llvm/ADT/Triple.h > > Hurd, // GNU/Hurd > LastOSType = Hurd > /// Tests whether the OS is Hurd. > bool isOSHurd() const { > return getOS() == Triple::Hurd; > getOS() == Triple::Hurd) && > > grep Hurd ~/downloads/llvm_release_70/include/llvm/ADT/Triple.h > (nothing) > >>> From: Andrew Kelley <superjoe30 at gmail.com> >>> Date: Mon, Nov 26, 2018 at 10:38 AM >>> Subjec...
2015 Apr 10
2
[LLVMdev] MMX/SSE subtarget feature in IR
...CPU() in tools/clang/lib/Driver/Tools.cpp: static const char *getX86TargetCPU(const ArgList &Args, const llvm::Triple &Triple) { ... // Everything else goes to x86-64 in 64-bit mode. if (Is64Bit) return "x86-64"; switch (Triple.getOS()) { case llvm::Triple::FreeBSD: case llvm::Triple::NetBSD: case llvm::Triple::OpenBSD: return "i486"; case llvm::Triple::Haiku: return "i586"; case llvm::Triple::Bitrig: return "i686"; default: // Fallback to p4. return &quot...
2015 Apr 09
2
[LLVMdev] MMX/SSE subtarget feature in IR
Thanks Kevin for the reply. I got the point now :) On 10 Apr 2015 00:18, "Smith, Kevin B" <kevin.b.smith at intel.com> wrote: > For x86_64 ABI, a minimum feature set of SSE2 is required. > > > > Kevin > > > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *suyog sarda > *Sent:* Thursday, April 09,
2018 Nov 27
3
apt.llvm.org has the wrong binaries/headers for llvm-toolchain-xenial-7
Who maintains apt.llvm.org? On 11/27/18 9:25 AM, Andrew Kelley wrote: > ---------- Forwarded message --------- > From: Andrew Kelley <superjoe30 at gmail.com> > Date: Mon, Nov 26, 2018 at 10:38 AM > Subject: apt.llvm.org has the wrong binaries/headers for llvm-toolchain-xenial-7 > To: LLVM Dev <llvm-dev at lists.llvm.org> > > > This build worked on Nov 24 and
2012 Sep 10
3
[LLVMdev] Question about ctors, dtors and sections on Windows
Hello all! I extended the LDC2 with a pragma to register a funcion in the llvm.global_ctors or llvm.global_dtors list. On Linux, references to these functions are placed in .ctors and .dtors sections and everything runs fine. On Windows, functions from llvm.global_ctors are placed in section .CRT$XCU, which is automatically called by the MS C Runtime. However, functions from
2016 May 04
2
OrcLazyJIT for windows
Hi David, This is really cool. I'd love to get this in-tree. There are two ways we could go about this: (1) Make the OrcArchitecture interface ABI-aware so that it can choose the right resolver code, or (2) Replace the OrcArchitecture classes with OrcABI classes. I.e. We'd just a rename OrcX86_64 -> Orc_X86_64_SysV (and rename I386 & AArch64 similarly) , then we add your code as
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...OSABI; @@ -581,5 +721,7 @@ MCAsmBackend * llvm::createAArch64AsmBackend(const Target &T, const MCRegisterInfo &MRI, StringRef TT, StringRef CPU) { Triple TheTriple(TT); + if (TheTriple.isOSDarwin()) + return new DarwinAArch64AsmBackend(T, TT, TheTriple.getOS()); return new ELFAArch64AsmBackend(T, TT, TheTriple.getOS()); } diff --git a/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp b/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp index 8ec8cbf..9200742 100644 --- a/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp +++ b/lib/Target/AAr...
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...^ /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp: In member function 'void {anonymous}::ARMTargetInfo::setABIAAPCS()': /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5180:22: error: 'Bitrig' is not a member of 'llvm::Triple' T.getOS() == llvm::Triple::Bitrig) ^ /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp: In member function 'void {anonymous}::ARMTargetInfo::setArchInfo()': /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5280:17: error: cannot convert 'llvm:...
2014 Apr 15
10
[LLVMdev] [PATCH] Seh exceptions on Win64
Hi, I'd like to submit a patch to match the clang patch on the front end. http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140414/103257.html The front end doesn't need this patch to work but it's still important. This is mostly based on work done by kai from redstar.de Could I get some feedback on this? I'm not sure if the emitting of the register names will effect
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...c AsmParser *createX86_32AsmParser(const Target &T, const std::string &TT, + SourceMgr &Src, MCContext &Ctx, + MCStreamer &Out, const MCAsmInfo &MAI) { + Triple TheTriple(TT); + switch (TheTriple.getOS()) { + case Triple::Linux: + return new X86_32ATTELFAsmParser(T, Src, Ctx, Out, MAI); + default: + return new X86_32ATTMachOAsmParser(T, Src, Ctx, Out, MAI); + } +} + +static AsmParser *createX86_64AsmParser(const Target &T, const std::string &TT, +...
2018 Feb 28
0
[ANNOUNCE] xserver 1.20 RC1
...composite: Remove a misleading comment composite: Export compIsAlternateVisual glx: Send GLX_VISUAL_SELECT_GROUP_SGIX attribute for visuals glx: Move Composite's synthetic visuals to a different select group loader: Port from xfree86 to dix API loader: Remove *GetOS loader: Don't add internal/ to the search path loader: Include fewer headers from xf86Module.h loader: Remove unused loader error codes and dead enum loader: Remove silly "unspecified" version handling xfree86: Remove DriverRec1 compat struct xfree8...