================
@@ -3022,6 +3022,24 @@ bool CheckIntegralAddressCast(InterpState &S, CodePtr 
OpPC, unsigned BitWidth) {
           BitWidth);
 }
 
+/// The offset of a global from the image base is only known to the linker, so
----------------
tbaederr wrote:

Why can't we do that from `InterpretBuiltin`?

https://github.com/llvm/llvm-project/pull/237119
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to