Currently, `print_module_map` is only respected for ubsan if it is ran in tandem with asan. This patch adds support for this flag in standalone mode. I copied the pattern used to implement this for asan. Also added a common `print_module_map` lit test for Darwin only. Since the print messages are different per platform, we need to write a regex test to cover them. This test is coming in a separate patch rdar://56135732 Reviewed By: vitalybuka, vsk, delcypher Differential Revision: https://reviews.llvm.org/D97746
2.0 KiB
2.0 KiB