diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2022-04-07 17:05:54 +0200 |
|---|---|---|
| committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-04-08 09:18:00 +0200 |
| commit | b672638dbc7cec9a51826520e8f8aef276bac3ee (patch) | |
| tree | bf34555ac2879fc1ab241bfda7e555e231708a59 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | fc2d8326ae4d6e05c1aa2db7e7dbd8e759bf4d51 (diff) | |
[clang][deps] Ensure deterministic filename case
The dependency scanner can reuse single FileManager instance across multiple translation units. This may lead to non-deterministic output depending on which TU gets processed first.
One of the problems is that Clang uses DirectoryEntry::getName in the header search algorithm. This function returns the path that was first used to construct the (shared) entry in FileManager. Using DirectoryEntryRef::getName instead preserves the case as it was spelled out for the current "get directory entry" request.
rdar://90647508
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D123229
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
