Displaying 1 result from an estimated 1 matches for "158596".
Did you mean:
15859
2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
...same line in destination is
replaced by the one with inttoptr:
@switch.bbs = internal global [3 x i8*] [i8* inttoptr (i32 1 to i8*),
i8* inttoptr (i32 1 to i8*), i8* inttoptr (i32 1 to i8*)]
So it looks like BlockAddress instruction is copied instead of cloned
into the destination module?
rev.158596
Yuri
--- testcase.cpp ---
#include <llvm/LLVMContext.h>
#include <llvm/Module.h>
#include <llvm/DerivedTypes.h>
#include <llvm/Constants.h>
#include <llvm/GlobalVariable.h>
#include <llvm/Function.h>
#include <llvm/CallingConv.h>
#include <llvm/Basic...