similar to: [LLVMdev] cygwin mmap problem

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] cygwin mmap problem"

2010 Apr 27
0
[LLVMdev] LLVM 2.7 build failure: no matching function for call to 'llvm::MemoryBuffer::getFile
make[4]: Entering directory `/usr/local/src/llvm-2.7/tools/clang/lib/Basic' llvm[4]: Compiling Builtins.cpp for Release build llvm[4]: Compiling ConvertUTF.c for Release build llvm[4]: Compiling Diagnostic.cpp for Release build llvm[4]: Compiling FileManager.cpp for Release build llvm[4]: Compiling IdentifierTable.cpp for Release build llvm[4]: Compiling SourceLocation.cpp for Release build
2009 May 05
5
HandBrakeCLI crashes when converting
Hello! At first, i want to run the latest HandBrake (version 0.93) on a Mac with Mac OS 10.4 (Tiger). The problem is, that Handbrake is developed for Mac OS 10.5 (XCode SDK is not compatible to Mac OS 10.4 one). So i decided to try it with wine/darwine. Because wine is better supported on Linux and you can get easier newer version (apt-get), i decided to run HandBrakeCLI.exe on Debian Etch
2008 May 19
0
source-filter_dest-filter patch failing with rsync 3.0.0
I'm using the source-filter option in this patch with the command rsync.exe -a -v -e ssh --source-filter="/cygdrive/c/openssl.exe enc -des3 -pass pass:whatever -a" /cygdrive/c/backup user@dir: to crypt files to be sent at source with openssl. At some point rsync fails an i get 104435520 [main] rsync 1040 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 104436464 [main]
2009 Mar 09
0
[LLVMdev] Cross-Module Function Calls
I have had great luck in the last couple of months getting llvm to do cool stuff with directly linked modules using llvm-as and llvm-ld. Now, I would like to get some of the same functionality working through an ExecutionEngine; however, I am having trouble making functions call across module boundaries. I know from previous discussions on this list that what I am attempting should be easy. I
2016 Nov 17
2
UB in MemoryBufferMMapFile
Chris Lattner <clattner at apple.com> writes: > On Nov 16, 2016, at 9:46 PM, Justin Bogner via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> In MemoryBuffer::init, we have an assert that reads the memory at >> `BufEnd`, which is one past the end of some memory region: >> >> from lib/Support/MemoryBuffer.cpp:45: >>> void
2012 Feb 03
2
[LLVMdev] Invalid bitcode signature
I'm trying to link two modules together using the C++ API, one that's a sort of library module and one that's being generated from the source language. If I have something like this: OwningPtr<MemoryBuffer> owning_ptr; if (MemoryBuffer::getFile(StringRef("../hello.bc"), owning_ptr)) std::cout << "error opening file" << std::endl; Module* Lib
2010 Feb 12
0
[LLVMdev] LLVM memory usage?
On Thu, Feb 11, 2010 at 6:53 PM, James Williams <junk at giantblob.com> wrote: > Hi, > > I'm seeing rather high memory usage from LLVM and I'd like to track down > what I'm doing to cause it. My application is a simple web application > server that compiles web pages with embedded script to bitcode and compiles > them with the JIT on demand. I've taken
2010 Feb 11
2
[LLVMdev] LLVM memory usage?
Hi, I'm seeing rather high memory usage from LLVM and I'd like to track down what I'm doing to cause it. My application is a simple web application server that compiles web pages with embedded script to bitcode and compiles them with the JIT on demand. I've taken tools/lli.cpp as a starting point and extended it to load additional modules. However, if I load successive pages and
2007 Dec 26
2
[LLVMdev] Instantiating modules from .bc files
Hey there, I'm relatively new to the llvm scene, and so far I'm liking it quite a bit. I'm a bit perplexed as to what llvm-gcc's role is in everything. I've used it to create .bc files for really simple functions and it seems to do quite well at that, but I've been trying to figure out how to take the output from llvm-gcc and actually use it in another program.
2007 Dec 26
0
[LLVMdev] Instantiating modules from .bc files
Hi Danny, On 2007-12-26, at 15:39, Danny wrote: > I've noticed that the BitcodeReader appears to be an internal > module, but the BitstreamReader is public. Should I be using the > BitstreamReader? If so how. The generic BitstreamReader class is public because it's used in other projects, including clang, to serialize data structures other than LLVM IR. The coding of
2009 Mar 26
0
rsync error on Win Server 2008
Hi I'm using rsync (ver 3.0.5) to sync a local folder with a folder on a server using SSH and encrypted key files. It works fine on Windows 2000/XP/2003/Vista but not Windows 2008 Server. I get an error like the following: "ssh XXXX_cygtls::handle_exceptions Error while dumping state (probably corrupted stack) rsync connection unexpectedly closed. error in rsync protocol data stream
2009 Oct 07
0
[LLVMdev] patch for CIndex linakge error on Mingw, set the proper LINKER_LANGUAGE for CIndex and c-index-test
\tools\clang\tools\CIndex && D:\Tools\Building\cmake\bin\cmake.exe -E cmake_link_script CMakeFiles\CIndex.dir\link.txt --verbose=1 D:\Tools\Building\gcc\bin\g++.exe -shared -o ..\..\..\..\bin\libCIndex.dll -Wl,--out-implib,..\..\..\..\lib\libCIndex.dll.a -Wl,--major-image-version,0,--minor-image-version,0 CMakeFiles\CIndex.dir\CIndex.cpp.obj ..\..\..\..\lib\libLLVMMC.a
2018 Aug 13
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi, I am begineer to llvm, implementing a main.cpp from https://github.com/davidar/lljvm/blob/master/backend/main.cpp A) : When I am declaring a command: * PassManager PM* * PM.add(new DataLayout td)* It shows error: > *error: missing template arguments before ‘PM’* * PassManager PM;* ^ >*main_test.cpp:48:2: error: ‘PM’ was not declared in this scope* *
2007 Dec 27
1
[LLVMdev] Instantiating modules from .bc files
That worked quite well. Thank you. One question as a follow up: is there a nice/standard way of including the pre-made bitcode chunks in with the binaries that are being created which read them? Bascially, I'd like to have the same functionality, but rather than having one or more .bc files running around which need to be read at runtime by an executable, moving that into the code
2007 Oct 26
1
rsync error: STATUS_ACCESS_VIOLATION
I received the following error on the client when testing the pre2 release. I'm not sure what it means or if it helps. Rsync 2.6.9 runs the same backup without error. I compiled rsync under cygwin CVS so it may be an issue there as well. Server side did not crash. It did log an error, but I'm pretty sure it was due to the client-side crash. Rsync was running using an ssh port
2004 Jan 24
2
mmap and getpagesize
The man page for mmap() says the size needs to be a multiple of getpagesize(). So in my code I call getpagesize() and adjust my lengths accordingly. klibc doesn't have getpagesize() implemented. Is it safe to call mmap() with arbritary lengths and assume the mmap will round up for you? Does this work on glibc too? If so, I can just eliminate my getpagesize() code. It turns out for VM86
2012 Feb 04
0
[LLVMdev] Invalid bitcode signature
On Feb 3, 2012, at 1:47 PM, Fraser Cormack wrote: > > I'm trying to link two modules together using the C++ API, one that's a sort > of library module and one that's being generated from the source language. > > If I have something like this: > > OwningPtr<MemoryBuffer> owning_ptr; > if (MemoryBuffer::getFile(StringRef("../hello.bc"),
2011 Dec 19
2
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi, My apologies if this appears to be a very trivial question -- I have tried to solve this on my own and I am stuck. Any assistance that could be provided would be immensely appreciated. What is the absolute bare minimum that I need to do to disassemble an array of, say, ARM machine code bytes? Or an array of Thumb machine code bytes? For example, I might have an array of unsigned chars -- how
2018 Aug 14
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi Philip, I also tried that including file: #include "llvm/IR/LegacyPassManager.h" but error remain same. Please help. On Tue, Aug 14, 2018, 2:58 AM Philip Pfaffe <philip.pfaffe at gmail.com> wrote: > Hi Ratnesh, > > the PassManager used in that example has moved into the legacy namespace: > http://llvm.org/doxygen/classllvm_1_1legacy_1_1PassManager.html > >
2011 Dec 19
0
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi Aiden, The easiest thing I can do is to point you to the source of the "llvm-mc" tool, which does exactly what you ask in its "-disassemble" mode. The code is rather small, so it should be easy to work out. tools/llvm-mc Cheers, James -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Aidan Steele Sent: