Skip to content

Commit d321bc6

Browse files
[mono][aot] Increase the max symbol size (#120295)
Long symbol names were truncated, leading to duplicate names in the generated assembly file. This was making the compiler fail due to duplicate symbol names. Co-authored-by: Vlad Brezae <[email protected]>
1 parent 60e9bd7 commit d321bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/mono/mini/aot-compiler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ is_direct_pinvoke_enabled (const MonoAotCompile *acfg)
638638

639639
/* Wrappers around the image writer functions */
640640

641-
#define MAX_SYMBOL_SIZE 256
641+
#define MAX_SYMBOL_SIZE 1024
642642

643643
#if defined(TARGET_WIN32) && defined(TARGET_X86)
644644
static const char *

0 commit comments

Comments
 (0)