]> granicus.if.org Git - llvm/commit
[codeview] Merge file checksum entries for DIFiles with the same absolute path
authorReid Kleckner <rnk@google.com>
Tue, 31 Oct 2017 21:52:15 +0000 (21:52 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 31 Oct 2017 21:52:15 +0000 (21:52 +0000)
commit207bce3fb1c6e3c8ba3b4519459a27a0a8f3e863
treec26b902a27997274e4ebfb215693c883af51de73
parent114eeedb22b61ee3a193eb490d3f359ec344e2c7
[codeview] Merge file checksum entries for DIFiles with the same absolute path

Change the map key from DIFile* to the absolute path string. Computing
the absolute path isn't expensive because we already have a map that
caches the full path keyed on DIFile*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/CodeViewDebug.h
test/DebugInfo/COFF/lines-difile.ll [new file with mode: 0644]