[PATCH] D20217: Add direct control of whether or not a symbol is preemtable at runtime

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 10:42:56 PDT 2017


Sean Fertile via Phabricator <reviews at reviews.llvm.org> writes:

What is the long term plan for DSO_Default? Do we want to keep it or it
is just a helper in the transition and eventually every GV will be
DSO_Local or DSO_Preemptable?

> Index: include/llvm/IR/GlobalValue.h
> ===================================================================
> --- include/llvm/IR/GlobalValue.h
> +++ include/llvm/IR/GlobalValue.h
> @@ -73,20 +73,27 @@
>      DLLExportStorageClass = 2  ///< Function to be accessible from DLL.
>    };
>  
> +  enum DSO_Location {
> +    DSO_Default = 0,
> +    DSO_Local,
> +    DSO_Preemptable
> +  };


More information about the llvm-commits mailing list