The LLVM Assembly Language Reference incorrectly stated that the
authorDan Gohman <gohman@apple.com>
Mon, 12 Jan 2009 21:35:55 +0000 (21:35 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 12 Jan 2009 21:35:55 +0000 (21:35 +0000)
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

docs/LangRef.html

index 7b8d4f8c854506251cf156e9327d1ceb1a621541..8857590d4372093a0fa9f0ec424fc35165ab5e62 100644 (file)
@@ -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>