X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FLangRef.html;h=de19222c52b16f9c501967d08435a2fc83cd387f;hb=15a6c3e97629c61c8407b57289be53de9237b554;hp=232b4683323f6dc10f09a731200ea660d946bb17;hpb=f4d252dc3acd29af03f7825716a8361585b5f432;p=oota-llvm.git diff --git a/docs/LangRef.html b/docs/LangRef.html index 232b4683323..de19222c52b 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -439,6 +439,35 @@ All Global Variables and Functions have one of the following types of linkage: visible, meaning that it participates in linkage and can be used to resolve external symbol references. + +
extern_weak:
+ +
"extern_weak" TBD +
+ +

+ The next two types of linkage are targeted for Microsoft Windows platform + only. They are designed to support importing (exporting) symbols from (to) + DLLs. +

+ +
dllimport:
+ +
"dllimport" 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 _imp__ and the function or variable name. +
+ +
dllexport:
+ +
"dllexport" linkage causes the compiler to provide a global + pointer to a pointer in a DLL, so that it can be referenced with the + dllimport attribute. On Microsoft Windows targets, the pointer + name is formed by combining _imp__ and the function or variable + name. +
+

For example, since the ".LC0" @@ -3152,8 +3181,9 @@ be implemented with code generator support.

Overview:

-The 'llvm.returnaddress' intrinsic returns a target-specific value -indicating the return address of the current function or one of its callers. +The 'llvm.returnaddress' intrinsic attempts to compute a +target-specific value indicating the return address of the current function +or one of its callers.

Arguments:
@@ -3196,8 +3226,8 @@ source-language caller.
Overview:

-The 'llvm.frameaddress' intrinsic returns the target-specific frame -pointer value for the specified stack frame. +The 'llvm.frameaddress' intrinsic attempts to return the +target-specific frame pointer value for the specified stack frame.

Arguments: