Skip to content
Commit 5d87665d authored by Fangrui Song's avatar Fangrui Song
Browse files

Revert #67745 "[asan] Ensure __asan_register_elf_globals is called in COMDAT...

Revert #67745 "[asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (#67745)"

This reverts commit 1a4b9b6f.

When getUniqueModuleId(&M) is empty, we may add comdat to internal constants
like $.str, causing spurious `error: relocation refers to a symbol in a
discarded section` lld errors.
parent a3a7d631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment