summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-03-28 17:33:41 +0000
committerReid Kleckner <rnk@google.com>2019-03-28 17:33:41 +0000
commit85e2cdac7367328e384cdbfed00928a43ae66034 (patch)
tree8dc3c67c3ce877c48e574737c9f8a5dfc44a945f /llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp
parent676d25ab9422a56fcdf44f825545119f6c3a52d8 (diff)
downloadbcm5719-llvm-85e2cdac7367328e384cdbfed00928a43ae66034.tar.gz
bcm5719-llvm-85e2cdac7367328e384cdbfed00928a43ae66034.zip
Delay initialization of three static global maps, NFC
This avoids allocating a few KB of heap memory on startup, and instead allocates these maps lazily. I noticed this while profiling LLD. llvm-svn: 357192
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud