Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@imhameed
Copy link
Contributor

@imhameed imhameed commented Mar 5, 2020

Should fix #19115. This bug was
introduced in #18824, which
conditionally initalized an LLVM JIT-related TLS slot while preserving
unconditonal stores to that same slot.

The value stored in this TLS slot should only be used during JIT
compilation, so set/reset it in mono_llvm_compile_method instead of
during IR construction in mono_llvm_emit_method. No non-JIT code
should depend on the existence of this TLS variable, so
remove mono_llvm_jit_set_tls_cfg.

Should fix mono#19115. This bug was
introduced in mono#18824, which
conditionally initalized an LLVM JIT-related TLS slot while preserving
unconditonal stores to that same slot.

The value stored in this TLS slot should only be used during JIT
compilation, so set/reset it in `mono_llvm_compile_method` instead of
during IR construction in `mono_llvm_emit_method`. No non-JIT code
should depend on the existence or presence of this TLS variable, so
remove `mono_llvm_jit_set_tls_cfg`.
@imhameed
Copy link
Contributor Author

imhameed commented Mar 5, 2020

@monojenkins build failed

@SamMonoRT SamMonoRT merged commit 4c348d6 into mono:master Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mono_method_full_name Cannot enter GC unsafe region on a different thread

3 participants