aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorItay Bookstein <itay.bookstein@nextsilicon.com>2020-06-16 16:17:27 -0700
committerTeresa Johnson <tejohnson@google.com>2020-06-16 20:15:27 -0700
commitdf9d64ed9c1d819bc0a040e3ef4c4a4003bf5c93 (patch)
treed5ae704412557bc5c9c9525f6555488b1b298230 /llvm/lib/Support/Program.cpp
parent3b34f3fccac93697065df620d454fcadceb4fa6e (diff)
downloadllvm-df9d64ed9c1d819bc0a040e3ef4c4a4003bf5c93.zip
llvm-df9d64ed9c1d819bc0a040e3ef4c4a4003bf5c93.tar.gz
llvm-df9d64ed9c1d819bc0a040e3ef4c4a4003bf5c93.tar.bz2
[IR] Add missing GlobalAlias copying of ThreadLocalMode attribute
Summary: Previously, GlobalAlias::copyAttributesFrom did not preserve ThreadLocalMode, causing incorrect IR generation in IR linking flows. This patch pushes the code responsible for copying this attribute from GlobalVariable::copyAttributesFrom down to GlobalValue::copyAttributesFrom so that it is shared by GlobalAlias. Fixes PR46297. Reviewers: tejohnson, pcc, hans Reviewed By: tejohnson, hans Subscribers: hiraditya, ibookstein, dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81605
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions