[LLVMdev] Mapping document questions

Mikael Lyngvig mikael at lyngvig.org
Tue Dec 17 13:35:30 PST 2013


These questions are all related to the "Mapping High-Level Constructs to
LLVM IR" document:

1. What are the \01 characters that are prefixed to dllimport Windows
symbols for?  I have never seem them before so I am unsure if they are
Clang/LLVM-specific?

2. Anybody interested in explaining the zero cost exception handling
mechanism using an existing example from the Mapping document?  This
requires coding up a working example in LLVM IR or simplifying a
compiler-generated example so that it becomes easy to read.

3. Anybody interested in explaining the various forms of constant
expressions that exist in LLVM IR?

4. Do any of you have a simple yet realistic example of an address-space
cast?

5. Anybody interested in documenting the insertvalue and extractvalue
instructions?  I haven't figured out how to get a structure into a register
yet.

6. Anybody interested in documenting closures?

P.S. I sent off the document to the LLVM-commits list earlier today, but
David Blaikie pointed out that the document should be in a state where it
can be published before committing it, so that's what I am working on now.

For the time being, the document can be found at:

https://github.com/archfrog/llvm-doc/blob/master/MappingHighLevelConstructsToLLVMIR.rst

As soon as it is ready to be published, it will be moved to the llvm/docs
folder.


-- Mikael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131217/c9f5cbaa/attachment.html>


More information about the llvm-dev mailing list