mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
The LLVM Assembly Language Reference incorrectly stated that the
prefix used for dll{import,export} is _imp__; it is actually __imp_. Patch by Mahadevan R! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30e5e55e7a
commit
7956412470
@ -552,7 +552,7 @@ All Global Variables and Functions have one of the following types of linkage:
|
||||
<dd>"<tt>dllimport</tt>" linkage causes the compiler to reference a function
|
||||
or variable via a global pointer to a pointer that is set up by the DLL
|
||||
exporting the symbol. On Microsoft Windows targets, the pointer name is
|
||||
formed by combining <code>_imp__</code> and the function or variable name.
|
||||
formed by combining <code>__imp_</code> and the function or variable name.
|
||||
</dd>
|
||||
|
||||
<dt><tt><b><a name="linkage_dllexport">dllexport</a></b></tt>: </dt>
|
||||
@ -560,7 +560,7 @@ All Global Variables and Functions have one of the following types of linkage:
|
||||
<dd>"<tt>dllexport</tt>" linkage causes the compiler to provide a global
|
||||
pointer to a pointer in a DLL, so that it can be referenced with the
|
||||
<tt>dllimport</tt> attribute. On Microsoft Windows targets, the pointer
|
||||
name is formed by combining <code>_imp__</code> and the function or variable
|
||||
name is formed by combining <code>__imp_</code> and the function or variable
|
||||
name.
|
||||
</dd>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user