removed duplicate clang sets; disable ICF with lld-link because it erroneously

merges string literals and makes ASAN panic
This commit is contained in:
Nikita Smith
2026-04-06 12:04:31 -07:00
parent f119e8cffc
commit 2331425e20
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -3537,9 +3537,9 @@ T_BeginTest(delay_import_user32)
COFF_ObjWriter *obj_writer = coff_obj_writer_alloc(0, COFF_MachineType_X64);
COFF_ObjSection *data_sect = coff_obj_writer_push_section(obj_writer, str8_lit(".str"), PE_DATA_SECTION_FLAGS, str8_zero());
U64 msg_off = data_sect->data.total_size;
str8_list_pushf(obj_writer->arena, &data_sect->data, "test\0");
str8_list_push(obj_writer->arena, &data_sect->data, push_cstr(scratch.arena, str8_lit("test")));
U64 caption_off = data_sect->data.total_size;
str8_list_pushf(obj_writer->arena, &data_sect->data, "foo\0");
str8_list_push(obj_writer->arena, &data_sect->data, push_cstr(scratch.arena, str8_lit("foo")));
COFF_ObjSymbol *msg_symbol = coff_obj_writer_push_symbol_extern(obj_writer, str8_lit("msg"), msg_off, data_sect);
COFF_ObjSymbol *caption_symbol = coff_obj_writer_push_symbol_extern(obj_writer, str8_lit("caption"), caption_off, data_sect);