diff options
| author | cceerczw <chengzhiwei6@huawei.com> | 2024-08-08 01:56:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 21:56:48 +0400 |
| commit | 6f8e8faa12daaf4dfd80039ccdeccda68e99850b (patch) | |
| tree | 7eb5f58ed42e1424588570b26c951c8f2a859c16 /lldb/test/API/python_api/value | |
| parent | 64510c1411aff754e1b92659987846aba3a14d53 (diff) | |
| download | llvm-6f8e8faa12daaf4dfd80039ccdeccda68e99850b.zip llvm-6f8e8faa12daaf4dfd80039ccdeccda68e99850b.tar.gz llvm-6f8e8faa12daaf4dfd80039ccdeccda68e99850b.tar.bz2 | |
[TargetLowering] Fix the problem of emulated-TLS implementation witho… (#101490)
For a __thread variable x, when emulated TLS is enabled and there is an
access to x, the compiler first looks up the symbol __emutls_v.x within
the module. However, the issue arises with an alias y of x, the compiler
still tries to look up __emutls_v.y instead of __emutls_v.x. As a
result, the lookup returns a nullptr, causing the compiler to crash. The
purpose of this MR (Merge Request) is to ensure that in emulated TLS,
before checking __emutls_v.y, the compiler first identifies which global
value y is an alias of.
Diffstat (limited to 'lldb/test/API/python_api/value')
0 files changed, 0 insertions, 0 deletions
