[PATCH] D18499: [ELF] - Implemented prototype of location counter support.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 10:11:38 PDT 2016


grimar added inline comments.

================
Comment at: ELF/LinkerScript.cpp:95
@@ +94,3 @@
+// orphan sections, what prepares it for futher use without
+// changes in LinkerScript::assignAddresses().
+template <class ELFT>
----------------
At the same time if we talk about perfomance then I think most narrow place is lookup and not creation of container.
So I can guess StringMap still was faster since it does not recompute hash during lookup.
I didn't check since code was cut off.


http://reviews.llvm.org/D18499





More information about the llvm-commits mailing list