aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-09-14 13:09:23 -0700
committerArthur Eubanks <aeubanks@google.com>2021-10-04 14:14:32 -0700
commit2568286892310877f24313c8e1626e415f9ae406 (patch)
tree9c90759e9db770a65b2299666cd771190a1ef5d3 /llvm/lib/CodeGen/MachineFunction.cpp
parent7f28b4d5b7a5f3581dbdba0ee8936b519034ae65 (diff)
downloadllvm-2568286892310877f24313c8e1626e415f9ae406.zip
llvm-2568286892310877f24313c8e1626e415f9ae406.tar.gz
llvm-2568286892310877f24313c8e1626e415f9ae406.tar.bz2
[clang] Don't use the AST to display backend diagnostics
We keep a map from function name to source location so we don't have to do it via looking up a source location from the AST. However, since function names can be long, we actually use a hash of the function name as the key. Additionally, we can't rely on Clang's printing of function names via the AST, so we just demangle the name instead. This is necessary to implement https://lists.llvm.org/pipermail/cfe-dev/2021-September/068930.html. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D110665
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions