diff options
author | Stefan Gränitz <stefan.graenitz@gmail.com> | 2020-10-24 14:27:19 +0200 |
---|---|---|
committer | Stefan Gränitz <stefan.graenitz@gmail.com> | 2020-10-24 14:54:38 +0200 |
commit | e9955b0843cc1e5876430f3f051494d4197419f3 (patch) | |
tree | c0b5dcc5770bcc64d0ef03f56c67d1cdddb809fc /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 138b9f1928454a6096bb928195bacb7ccd46fd00 (diff) | |
download | llvm-e9955b0843cc1e5876430f3f051494d4197419f3.zip llvm-e9955b0843cc1e5876430f3f051494d4197419f3.tar.gz llvm-e9955b0843cc1e5876430f3f051494d4197419f3.tar.bz2 |
[jitlink][ELF] Add zero-fill blocks for symbols in section SHN_COMMON
Symbols with special section index SHN_COMMON (0xfff2) haven't been handled so far and caused an invalid section error.
This is a more or less straightforward use of the code commented out at the end of the function. I checked with the ELF spec, that the symbol value gives the alignment.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D89795
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions