I need to modify clang driver for windows to include: -wholearchive:asan_dynamic_runtime_thunk, so all the object files in the static library: asan_dynamic_runtime_thunk are considered by the linker. This is necessary, because some object files only include linker pragmas, and doesn't resolve any symbol, so if we don't include that flag, the linker will ignore them, and won't read the linker pragmas.
Details
Details
- Reviewers
kcc kubamracek zturner alekseyshl aizatsky rnk - Commits
- rGb130469bc9d5: [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk".
rC293420: [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk".
rL293420: [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk".
Diff Detail
Diff Detail