search for: cppsharp

Displaying 8 results from an estimated 8 matches for "cppsharp".

2016 Mar 03
2
[GSoC16] Seeking Guidance for a project regarding SAFECode
...work on the SAFECode Open projects. As I found no mailing list on their site, I am sending this message here. Please redirect me to some other list, if required. . I found most of the projects quite alluring as I have been working on a similar project (in terms of tasks) since the last GSoC. It is CPPSharp ( https://github.com/genuinelucifer/CppSharp). . The ones that I found most interesting were: 1 - Improve Static Array Bounds Checking -- Because I have done a lot of array related tasks while writing marshalling code for CppSharp. I think I can really contribute into this project. . 2 - Create a s...
2013 Dec 10
2
[LLVMdev] Switching to the new MingW ABI
For the current project I'm working on (https://github.com/mono/CppSharp) having the flags to change the ABI based on a GCC version would be ideal. If there are no flags, this means we must implement some logic to change the calling conventions of methods manually to how they were pre-4.7. Should not be a lot of work but it'd be best to contain all the C++ ABI detai...
2013 May 09
2
[LLVMdev] C++ Name mangling
> The Clang mangler, however, does what you want. But, you'll need to > feed it a clang AST in order to get a name out. Depending on the > parameters of your function, this may be easy or hard. By the way, does anyone know of a project which *does* call into Clang's mangling framework from outside? I'd be interested to know purely out of curiosity. Cheers. Tim.
2013 Dec 10
0
[LLVMdev] Switching to the new MingW ABI
On 10 December 2013 09:16, João Matos <ripzonetriton at gmail.com> wrote: > For the current project I'm working on (https://github.com/mono/CppSharp) > having the flags to change the ABI based on a GCC version would be ideal. If > there are no flags, this means we must implement some logic to change the > calling conventions of methods manually to how they were pre-4.7. Should not > be a lot of work but it'd be best to contain a...
2013 Dec 10
2
[LLVMdev] Switching to the new MingW ABI
...details should be contained in Clang. On Tue, Dec 10, 2013 at 2:21 PM, Rafael Espíndola < rafael.espindola at gmail.com> wrote: > On 10 December 2013 09:16, João Matos <ripzonetriton at gmail.com> wrote: > > For the current project I'm working on (https://github.com/mono/CppSharp > ) > > having the flags to change the ABI based on a GCC version would be > ideal. If > > there are no flags, this means we must implement some logic to change the > > calling conventions of methods manually to how they were pre-4.7. Should > not > > be a lot of wo...
2014 Jul 22
2
[LLVMdev] How to get the symbols from a .so file?
    Hello all,     I develop a project based on Clang where I need to read all symbols from a library. For symbols libraries (.a/.lib) I use the following code:     auto &FM = C->getFileManager();     ...     auto Buffer = FM.getBufferForFile(FileEntry);     ...     auto Object = llvm::object::ObjectFile::createObjectFile(Buffer);     This code crashes at the last line if the file in
2013 Dec 10
0
[LLVMdev] Switching to the new MingW ABI
It's worth noting that gcc chose *not* to support any ABI changing flags. I'm in favor of avoiding flags here. We can simply document that clang 3.3 and earlier works with gcc 4.6 and earlier, and clang 3.4+ works with gcc 4.7+. On Mon, Dec 9, 2013 at 5:18 PM, Rafael Espíndola <rafael.espindola at gmail.com > wrote: > Mingw switched abis with the release of gcc 4.7 >
2013 Dec 10
10
[LLVMdev] Switching to the new MingW ABI
Mingw switched abis with the release of gcc 4.7 (http://gcc.gnu.org/gcc-4.7/changes.html). The main change is that now mingw (like msvc) given thiscall calling convention to methods by default. I think the last bug blocking us to support the new abi has just been fixed. The question now is how to switch. The attached patches simply switch llvm and clang to the new ABI. This is similar to what