[PATCH] D14167: [lld][elf2] Generate PT_TLS.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 15:37:14 PST 2015


ruiu added inline comments.

================
Comment at: ELF/Writer.cpp:674
@@ +673,3 @@
+  Elf_Phdr TlsPhdr;
+  TlsPhdr.p_vaddr = 0;
+  uintX_t ThreadBSSOffset = 0;
----------------
Do we need this? Isn't an Elf_Phdr zero-initialized?


http://reviews.llvm.org/D14167





More information about the llvm-commits mailing list