[PATCH] D131290: [llvm-objdump] Create name for fake sections

Namhyung Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 3 13:49:49 PDT 2022


namhyung added a comment.

Sorry for the delay.  I think I found the reason - it passed a stack-allocate string to the string table builder which keeps the cached string ref.  So each section name pointed to the same place in stack and got overwritten.  Will add a vector to hold the local strings.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131290/new/

https://reviews.llvm.org/D131290



More information about the llvm-commits mailing list