diff options
author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-05-03 10:28:55 -0400 |
---|---|---|
committer | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-05-03 18:37:21 -0400 |
commit | 9ef5381caf57f362760c2b0ef441238992b62633 (patch) | |
tree | 950f30b63cac25673d8833a3c252c40ae65e0daf /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 5c6be1d48c15c012c8f7fc44b10385b53f343806 (diff) | |
download | llvm-9ef5381caf57f362760c2b0ef441238992b62633.zip llvm-9ef5381caf57f362760c2b0ef441238992b62633.tar.gz llvm-9ef5381caf57f362760c2b0ef441238992b62633.tar.bz2 |
[CoroSplit][DebugInfo][nfc] Use more specialize Map arguments
We use a map of Argument->AllocaInst when mapping Arguments to the
AllocaInst created for them.
Said map is declared from "Value" and called a "DbgPtrCache". This
commit:
* replaces Value to the more specialized Argument class, to reflect the
intent better (i.e. we are _always_ mapping Arguments).
* replaces the name "DbgPtrCache" with the more explicit "ArgToAllocaMap",
as it is not clear reading the code what a "DbgPtr" is.
Differential Revision: https://reviews.llvm.org/D149748
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions