[llvm] [X86] Treat __ehdr_start as large (PR #79884)

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 13:33:09 PST 2024


================
@@ -57,6 +57,7 @@ target triple = "x86_64--linux"
 @opaque = external dso_local global %t
 @forced_small_data = dso_local global [10 x i32] zeroinitializer, code_model "small", align 16
 @forced_large_data = dso_local global [10 x i32] zeroinitializer, code_model "large", align 16
+ at __ehdr_start = external dso_local global i8
----------------
rnk wrote:

Do users declare `__ehdr_start` as hidden in C source code? Is that why it is known to be DSO local? Otherwise, it's a declaration, so I would assume that you get the large access pattern by default.

https://github.com/llvm/llvm-project/pull/79884


More information about the llvm-commits mailing list