summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-07-02 20:39:57 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-07-02 20:39:57 +0000
commit9b3cb081f3a558dad5c1d24c5d5bd03a34c8ac38 (patch)
treef6f11396ed658689752c5845b29975df03b4456a /lldb/source/Commands/CommandObjectProcess.cpp
parent7aea360924bae0559d50774c88d60381247bd7eb (diff)
downloadbcm5719-llvm-9b3cb081f3a558dad5c1d24c5d5bd03a34c8ac38.tar.gz
bcm5719-llvm-9b3cb081f3a558dad5c1d24c5d5bd03a34c8ac38.zip
[llvm-mca] Clear the content of map VariantDescriptors in InstrBuilder before we start analyzing a new CodeBlock. NFCI.
Different CodeBlocks don't overlap. The same MCInst cannot appear in more than one code block because all blocks are instantiated before the simulation is run. We should always clear the content of map VariantDescriptors before every simulation, since VariantDescriptors cannot possibly store useful information for the next blocks. It is also "safer" to clear its content because `MCInst*` is used as the key type for map VariantDescriptors. llvm-svn: 336142
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud