[mlir][LLVMDebugTranslation] Add inlinedAt to the key when caching locations
authorRiver Riddle <riddleriver@gmail.com>
Tue, 8 Nov 2022 03:01:14 +0000 (19:01 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 8 Nov 2022 21:00:05 +0000 (13:00 -0800)
commit7c849845e09a90fa9948afb207e755bbecb80484
tree6b929b627b05bca7f8d9c0947d6d9f28de09652f
parentb0bbc9b5951efaba6220c654c825050392627cbb
[mlir][LLVMDebugTranslation] Add inlinedAt to the key when caching locations

This avoids accidentally using the wrong inlined at scope when translating
locations.
mlir/lib/Target/LLVMIR/DebugTranslation.cpp
mlir/lib/Target/LLVMIR/DebugTranslation.h
mlir/test/Target/LLVMIR/llvmir-debug.mlir