From 27195a58313b52e8116fb362bc5f049dca540038 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Fri, 30 Apr 2010 19:27:35 +0000 Subject: [PATCH] Fixed @ctor / @dtor the wrong way around in last commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102741 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index b8a5fb23c50..3a2c65961c3 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2798,7 +2798,7 @@ should not be exposed to source languages.

 %0 = type { i32, void ()* }
-@llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @dtor }]
+@llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @ctor }]
 

The @llvm.global_ctors array contains a list of constructor functions and associated priorities. The functions referenced by this array will be called in ascending order of priority (i.e. lowest first) when the module is loaded. The order of functions with the same priority is not defined.

@@ -2813,7 +2813,7 @@ should not be exposed to source languages.

 %0 = type { i32, void ()* }
-@llvm.global_dtors = appending global [1 x %0] [%0 { i32 65535, void ()* @ctor }]
+@llvm.global_dtors = appending global [1 x %0] [%0 { i32 65535, void ()* @dtor }]
 

The @llvm.global_dtors array contains a list of destructor functions and associated priorities. The functions referenced by this array will be called in descending order of priority (i.e. highest first) when the module is loaded. The order of functions with the same priority is not defined. -- 2.34.1