summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/debugger
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-03-01 11:31:49 -0800
committerJan Svoboda <jan_svoboda@apple.com>2023-03-02 13:42:11 -0800
commit864054500830d708cc9f7d8a53195a95488e4e0b (patch)
tree980ff17095ea43ccf7e4c3a2f04d2b9da0da2976 /lldb/test/API/python_api/debugger
parent8350494a612b787286343cf9592fddf5bd5adc36 (diff)
[clang][deps] Preserve input ordering in the full output
This patch makes sure the ordering of TUs in the input CDB is preserved in the full output. Previously, the results were pushed into a global vector, potentially out-of-order and then sorted by the input file name. This is non-deterministic when the CDB contains multiple entries with the same input file. This patch fixes that by pre-allocating the output vector and writing directly to the position corresponding to the current input. This also eliminates one critical section. Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D145098
Diffstat (limited to 'lldb/test/API/python_api/debugger')
0 files changed, 0 insertions, 0 deletions