search for: albuschat

Displaying 15 results from an estimated 15 matches for "albuschat".

2013 Oct 31
3
[LLVMdev] Current state of the lld project
...? It would be awesome to be able to create a compiler based on llvm that does not have any third party dependencies. Currently, to my knowledge, the linker is the only third party dependency left, is it? Or is an assembler required that is called by llvm that I am not aware of? Greetings, Daniel Albuschat
2013 Nov 01
0
[LLVMdev] Current state of the lld project
2013/10/31 Daniel Albuschat <d.albuschat at gmail.com>: > on the lld main page at http://lld.llvm.org, it says: > > "lld is in its early stages of development. > It can currently self host on Linux x86-64 with -static." > > Is this information up-to-date? I made a quick test on a Windows 8 6...
2013 Nov 15
2
[LLVMdev] lld fails to build on Visual Studio 2013
...move_reference <T>::type results in void, the typedef expands to: typedef void & reference, which looks rather invalid. So the punchline is this: In Visual Studio 2012, the statement typedef remove_reference <T>::type & reference; compiled. On 2013, it fails. Greetings, Daniel Albuschat
2013 Nov 15
0
[LLVMdev] lld fails to build on Visual Studio 2013
I think I removed all uses of ErrorOr<void>. Can you try updating? On 15 November 2013 12:09, Daniel Albuschat <d.albuschat at gmail.com> wrote: > Hey there, > > lld fails to build on Visual Studio 2013 because of ErrorOr<void>. > For example, ErrorOr<void> is used in InputGraph.h as the return type > of InputGraph::reset. > Inside of ErrorOr, there is: > typedef typen...
2013 Nov 26
2
[LLVMdev] Disabling optimizations when using llvm::createPrintModulePass
...uleID = 'test' define i16 @foo() { __entry__: ret i16 42 } (Somehow I am beginning to get the feeling that operations on literals are always evaluated at compile-time and that this can not be prevented, except for first storing the values in memory.) Greetings, Daniel Albuschat
2013 Nov 28
0
[LLVMdev] Disabling optimizations when using llvm::createPrintModulePass
...By default it uses the ConstantFolder class which does target-independant constant folding. If you want to disable constant folding you can specify the NoFolder class instead, i.e. declare the builder as follows: IRBuilder<true, llvm::NoFolder> builder(body) On 26 Nov 2013, at 19:23, Daniel Albuschat <d.albuschat at gmail.com> wrote: > Hello, > > using the LLVM API, I've build one very simple function that adds two > ConstantInts and returns the result. > > I noticed that, when I emit IR code, it is optimized to a simple "ret > i16 42" when I add 40 a...
2015 Feb 17
2
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
2015-02-17 15:59 GMT+01:00 Tom Stellard <tom at stellard.net>: > On Mon, Feb 16, 2015 at 10:38:52PM +0100, Daniel Albuschat wrote: > > Hello there, > > > > tl;dr: > > Is it a known behaviour that using llvm-3.4 and llvm-3.6 at the same time > > in the same process (while llvm-3.6 is used from a linked shared library > > and llvm-3.4 is dlopen'ed - with a strange detail: Especially...
2013 Nov 15
1
[LLVMdev] lld fails to build on Visual Studio 2013
...t compile with MSVC 2013, so I believe it's doable. Update and try again. On Fri, Nov 15, 2013 at 11:49 AM, Rafael EspĂ­ndola < rafael.espindola at gmail.com> wrote: > I think I removed all uses of ErrorOr<void>. Can you try updating? > > On 15 November 2013 12:09, Daniel Albuschat <d.albuschat at gmail.com> wrote: > > Hey there, > > > > lld fails to build on Visual Studio 2013 because of ErrorOr<void>. > > For example, ErrorOr<void> is used in InputGraph.h as the return type > > of InputGraph::reset. > > Inside of ErrorOr...
2013 Dec 08
1
[LLVMdev] Win32: Crash in DLL created by llvm that calls into the "putchar" function
...ainCRTStartup at 12. * The CRT libraries provide an implementation for this function in libcmt.lib. * That implementation initializes the CRT (afaik using CRT_INIT) and calls DllMain. The question that remains is how to dllexport a function that is defined in a separate library? Greetings, Daniel Albuschat
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...thoughts to fix this would be very appreciated, since it is a show-stopper for my application. (Somehow, the -rdynamic seems to make the crash always appear, but I can't make it get away even without -rdyamic in my real app, so not using -rdynamic did not fix it for me.) Kind regards! Daniel Albuschat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150216/56321667/attachment.html>
2013 Nov 05
1
[LLVMdev] Current state of the lld project (support for writing .dll files)
...d make cross-compiling possible as soon as a few dependencies are removed from lld. (And actually, when I started investigating into LLVM, I thought this was already possible until I learned that I could only create .obj files with llc and had to link them "manually".) Greetings, Daniel Albuschat
2012 Apr 10
3
Removing LVM
...nd replaced the paths to point to the correct device. When the system boots it's still looking for lvm. I can restore the system back to where it was with lvm, but I'm not sure what step I'm missing to stop the system from looking for lvm. I started following this url: http://daniel-albuschat.blogspot.com/2008/02/converting-lvm-to-normal-partition.html Any suggestions? Thanks, James
2013 Jul 15
1
[LLVMdev] [cfe-dev] design for an accurate ODR-checker with clang
> Mmm. So you want to warn the user that two libraries using different > assertion settings both use the standard library? > > I think warning about actual differences in code, as opposed to differences > in type/vtable layout, is going to be pretty fraught with uninteresting > positives, but if you want to chase that rabbit, it's your time spent. It's probably
2013 Dec 08
0
[LLVMdev] Win32: Crash in DLL created by llvm that calls into the "putchar" function
...how you. What seems a little odd to me, too, is that the callPutchar.dll is 62MB in size. callPutchar.exe is 70MB. A bit much I guess ;) You can get all files (callPutchar.ll, .obj, .dll, .exe, .exp and .lib) here: https://dl.dropboxusercontent.com/u/1913181/Temp/callPutchar.7z Greetings, Daniel Albuschat
2013 Jun 30
1
[LLVMdev] Implementing closures and continuations
> On Jun 29, 2013, at 9:53 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > >> On Sat, Jun 29, 2013 at 7:51 PM, David Farler <accumulator at icloud.com> wrote: >> Hi all, >> >> In getting to know the LLVM infrastructure, I'm having a hard time finding implementation details for closures and continuations. >> >> For closures,