Arthur Eubanks 281d71604f
[X86] Change how we treat functions with explicit sections as small/large (#88172)
Following #78348, we should treat functions with an explicit section as
small, unless the section name is (or has the prefix) ".ltext".

Clang emits global initializers into a ".text.startup" section on Linux.
If we mix small/medium code model object files with large code model
object files, we'll end up mixing sections with and without the large
section flag.

Reland of #87838 with a check for non-ELF platforms in
TargetMachine::isLargeGlobalValue(), otherwise MCJIT on Windows tests
fail.
2024-04-16 12:48:04 -07:00
..
2023-06-18 16:02:59 +01:00
2023-12-04 15:20:02 +00:00
2023-09-01 19:45:03 -04:00
2023-11-21 12:58:24 +00:00
2023-10-25 13:25:15 +01:00
2023-09-20 16:58:00 +01:00
2023-10-25 18:10:51 +01:00
2023-07-20 10:24:16 +08:00
2023-07-20 13:35:15 +08:00