[clang] [Clang][Interpreter] Force GOT access for external data references (PR #201286)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 08:26:26 PDT 2026


vgvassilev wrote:

> @vgvassilev -- Does clang-repl ever consume PCHs in a context where it couldn't just regenerate them from source with the correct code & relocation model?

It does. But there we can do the opposite -- we can look how to pch was built and start clang-repl with these flags. This is what cling does.

cc: @jeaye 

https://github.com/llvm/llvm-project/pull/201286


More information about the cfe-commits mailing list