aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2024-05-20 10:36:03 +0800
committerGitHub <noreply@github.com>2024-05-20 10:36:03 +0800
commitfc0144a30cf20d6405411da141d11bfde143d3d2 (patch)
tree643b52c89d403bf77b1b5f4b2b2554cba7bbf8ca /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent89d0937348ebd4b55f17d503910be9300aa44a13 (diff)
downloadllvm-fc0144a30cf20d6405411da141d11bfde143d3d2.zip
llvm-fc0144a30cf20d6405411da141d11bfde143d3d2.tar.gz
llvm-fc0144a30cf20d6405411da141d11bfde143d3d2.tar.bz2
[Serialization] Read the initializer for interesting static variables before consuming it (#92353)
Close https://github.com/llvm/llvm-project/issues/91418 Since we load the variable's initializers lazily, it'd be problematic if the initializers dependent on each other. So here we try to load the initializers of static variables to make sure they are passed to code generator by order. If we read any thing interesting, we would consume that before emitting the current declaration.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions