summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/xray_interface_internal.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-02 02:18:01 +0000
committerRui Ueyama <ruiu@google.com>2016-11-02 02:18:01 +0000
commita959393a1595917e2260fa3928f48a0db3b1f4fa (patch)
tree0d0e7bd3b2a70ea30760f8c3bf09a29f513a5cc5 /compiler-rt/lib/xray/xray_interface_internal.h
parentb4f6ebf80695ee4aeefe4184728a1b3379b54baa (diff)
downloadbcm5719-llvm-a959393a1595917e2260fa3928f48a0db3b1f4fa.tar.gz
bcm5719-llvm-a959393a1595917e2260fa3928f48a0db3b1f4fa.zip
Add strings to .dynstr early.
Previously, we added strings from DynamicSection::finalize(). It was a bit tricky because finalize() is supposed to fix the final size of the section, but adding new strings would change the size of .dynstr section. So there was a dependency between finalize functions of .dynamic and .dynstr. However, I noticed that we can elimiante the dependency by simply add strings early; we don't have to do that in finalize() but can do from DynamicSection's ctor. This patch defines a new function, DynamicSection::addEntries, to add .dynamic entries that doesn't depend on other sections. llvm-svn: 285784
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface_internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud