OSDN Git Service

[Hexagon] Create global std::map lazily.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 2 Jul 2016 13:05:12 +0000 (13:05 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 2 Jul 2016 13:05:12 +0000 (13:05 +0000)
commitb4e53350f9349677e2a0178bde5b8b0c3b743b5e
tree2a575116f39ca91ff1cc2171dd987d709538fadf
parent2e1720f4556e47b98353c3a901913d0f1ba54944
[Hexagon] Create global std::map lazily.

This could of course be a simple binary search with no global state
involved at all if someone cares enough. Just don't make everyone
linking the hexagon backend pay for it on process startup and shutdown.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp