Commit Graph

3 Commits

Author SHA1 Message Date
Artem Chikin
2905433c6f Emit module trace atomically.
Ensure that we only have one writer to the module trace file at a time by using LLVM's `LockFileManager` utilities, similarly to `ModuleInterfaceBuilder`

Resolves rdar://76743462
2021-10-26 14:59:12 -07:00
Varun Gandhi
260125e7ae [ModuleTrace] Early exit if a Clang module imports itself.
Fixes rdar://67435472.
2020-08-20 14:53:06 -07:00
Varun Gandhi
32e030547f [NFC] Add test for self-cycles in module trace. 2020-08-20 14:40:30 -07:00