diff options
author | Hongtao Yu <hoy@fb.com> | 2021-08-25 11:57:48 -0700 |
---|---|---|
committer | Hongtao Yu <hoy@fb.com> | 2021-08-30 10:11:47 -0700 |
commit | f39256e3a5dd1f3d7311703003608340ffdb42bc (patch) | |
tree | 1c9850345a51522b4fa327de61c8260cc37aebf8 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 881677b58a1f88076fccee5f32152d981de66b74 (diff) | |
download | llvm-f39256e3a5dd1f3d7311703003608340ffdb42bc.zip llvm-f39256e3a5dd1f3d7311703003608340ffdb42bc.tar.gz llvm-f39256e3a5dd1f3d7311703003608340ffdb42bc.tar.bz2 |
[CSSPGO] Avoid repeatedly computing md5 hash code for pseudo probe inline contexts.
Md5 hashing is expansive. Using a hash map to look up already computed GUID for dwarf names. Saw a 2% build time improvement on an internal large application.
Reviewed By: wenlei
Differential Revision: https://reviews.llvm.org/D108722
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions