search for: cerrno

Displaying 13 results from an estimated 13 matches for "cerrno".

Did you mean: errno
2017 Mar 08
3
Use of the C++ standard library in XRay compiler-rt
...t/lib/xray % grep '#include <[^>.]*>' -oh `find . -type > f|grep -v 'tests'` | sort | uniq -c > 1 #include <algorithm> > 10 #include <atomic> > 1 #include <bitset> > 6 #include <cassert> > 1 #include <cerrno> > 1 #include <cstddef> > 7 #include <cstdint> > 2 #include <cstdio> > 1 #include <cstdlib> > 2 #include <cstring> > 1 #include <deque> > 2 #include <iterator> > 2 #include <limit...
2017 Mar 08
2
Use of the C++ standard library in XRay compiler-rt
So I stumbled across an issue that I think is a bit fundamental: The xray runtime uses the C++ standard library. This seems like a problem because whatever C++ standard library is used to compile the XRay runtime may not be the same as the C++ standard library (if any) that is used to build the target application and link XRay into. Does this make sense? Is this a problem? Talking to Chandler
2017 Mar 13
5
Use of the C++ standard library in XRay compiler-rt
...nclude <[^>.]*>' -oh `find . -type > f|grep -v 'tests'` | sort | uniq -c > > 1 #include <algorithm> > > 10 #include <atomic> > > 1 #include <bitset> > > 6 #include <cassert> > > 1 #include <cerrno> > > 1 #include <cstddef> > > 7 #include <cstdint> > > 2 #include <cstdio> > > 1 #include <cstdlib> > > 2 #include <cstring> > > 1 #include <deque> > > 2 #include <iterator&...
2017 Mar 15
2
Use of the C++ standard library in XRay compiler-rt
...nclude <[^>.]*>' -oh `find . -type > f|grep -v 'tests'` | sort | uniq -c > > 1 #include <algorithm> > > 10 #include <atomic> > > 1 #include <bitset> > > 6 #include <cassert> > > 1 #include <cerrno> > > 1 #include <cstddef> > > 7 #include <cstdint> > > 2 #include <cstdio> > > 1 #include <cstdlib> > > 2 #include <cstring> > > 1 #include <deque> > > 2 #include <iterator&...
2013 Sep 19
0
[LLVMdev] [RFC] New function attributes for errno-setting functions
...t would never add the "does not touch errno" attribute. Would it be practical to determine the pattern by recognizing the definition (or declaration, pre-'11) of errno? The language standards impose strict conditions it must meet: - be defined (declared) within <errno.h> or <cerrno>; - in C11 and C++11, be a macro; - pre-'11, alternatively be an identifier with external linkage. -- Kevin Schoedel, Software Developer, Intel of Canada <kevin.p.schoedel at intel.com> +1 (519) 772-2580
2011 Oct 25
2
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
...~/llvm/llvm-build$ sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/llvm-gcc ~/llvm/llvm-build$ ../llvm-src/configure --enable-optimized ~/llvm/llvm-build$ make llvm[1]: Compiling Host.cpp for Release+Asserts build In file included from /usr/include/c++/4.5/cerrno:43:0, from /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Unix.h:27, from /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Host.inc:21, from /home/svozniuk/llvm/llvm-src/lib/Support/Host.cpp:20: /usr/include/errno.h:69:13: error...
2011 Oct 25
0
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
...do ln -s /usr/bin/llvm-gcc-4.2 > /usr/bin/llvm-gcc > ~/llvm/llvm-build$ ../llvm-src/configure --enable-optimized > ~/llvm/llvm-build$ make > > llvm[1]: Compiling Host.cpp for Release+Asserts build > In file included from /usr/include/c++/4.5/cerrno:43:0, > from > /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Unix.h:27, > from > /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Host.inc:21, > from > /home/svozniuk/llvm/llvm-src/lib/Support/Host.cpp:20: >...
2011 Oct 25
2
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
...cc-4.2 >> /usr/bin/llvm-gcc >> ~/llvm/llvm-build$ ../llvm-src/configure --enable-optimized >> ~/llvm/llvm-build$ make >> >> llvm[1]: Compiling Host.cpp for Release+Asserts build >> In file included from /usr/include/c++/4.5/cerrno:43:0, >> from >> /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Unix.h:27, >> from >> /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Host.inc:21, >> from >> /home/svozniuk/llvm/llvm-src/lib/Support/Host...
2011 Oct 25
0
[LLVMdev] A bunch of errors while installing VMKit and compiling LLVM
.../bin/llvm-gcc >>> ~/llvm/llvm-build$ ../llvm-src/configure --enable-optimized >>> ~/llvm/llvm-build$ make >>> >>> llvm[1]: Compiling Host.cpp for Release+Asserts build >>> In file included from /usr/include/c++/4.5/cerrno:43:0, >>> from >>> /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Unix.h:27, >>> from >>> /home/svozniuk/llvm/llvm-src/lib/Support/Unix/Host.inc:21, >>> from >>> /home/svozniuk/llvm/l...
2012 Jul 07
2
[LLVMdev] Crash using the JIT on x86 but work on x64
...lude "llvm/Support/PluginLoader.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/raw_ostream.h" //#include "llvm/Support/Process.h" #include "llvm/Support/Signals.h" #include "llvm/Support/TargetSelect.h" //#include <cerrno> #include "llvm/DerivedTypes.h" //#include "llvm/Support/DynamicLibrary.h" #include "llvm/Linker.h" //using namespace llvm; llvm::LLVMContext* LLVM_Context; static llvm::ExecutionEngine* LLVM_ExecE = 0; llvm::Module* LLVM_Module; llvm::Type* LLVM_pointerType; b...
2014 Oct 07
2
[LLVMdev] Can libc++ build for arm cross compiler?
...include/c++/v1/./iterator > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__sso_allocator > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./valarray > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cerrno > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/android > -- Installing: > /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./support/android/locale_bio...
2014 Oct 03
3
[LLVMdev] Can libc++ build for arm cross compiler?
On 10/3/14 10:16 AM, Dan Albert wrote: >> >> I try to build libc++ and libc++abi for host x86_64(linux) and target >> arm(linux) but fail. >> > > Failing in what way? If this isn't working out of the box, we've done > something wrong. Yeah, it would help to know more specifics about where you're getting stuck. > > jroelofs might know more... For
2013 Nov 01
4
[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines
...; -------------- next part -------------- Index: tools/lli/lli.cpp =================================================================== --- tools/lli/lli.cpp (revision 193441) +++ tools/lli/lli.cpp (working copy) @@ -49,6 +49,8 @@ #include "llvm/Transforms/Instrumentation.h" #include <cerrno> +#include <iostream> + #ifdef __CYGWIN__ #include <cygwin/version.h> #if defined(CYGWIN_VERSION_DLL_MAJOR) && CYGWIN_VERSION_DLL_MAJOR<1007 @@ -228,6 +230,28 @@ #endif } +void *Callback1(void *Arg, void *LLVM_arg) { + std::cout << "In Callback1"...