We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056be95 commit 36ff255Copy full SHA for 36ff255
lib/BC/Util.cpp
@@ -1466,7 +1466,7 @@ llvm::GlobalVariable *DeclareVarInModule(llvm::GlobalVariable *var,
1466
1467
// NOTE(alex): This looks difficult to reproduce without querying `PointerElementType`.
1468
// It appears to be transferring global variables from one LLVM module to another. The
1469
- // variables are pointer types.
+ // variables are pointer types but we want to move the variable that the pointer is pointing at?
1470
auto &dest_context = dest_module->getContext();
1471
const auto type = ::remill::RecontextualizeType(
1472
PointerElementType(var->getType()), dest_context);
0 commit comments