Displaying 7 results from an estimated 7 matches for "_zn1b1xei".
2012 Apr 21
4
[LLVMdev] Remove function from module
Thanks, but I replaceAllUsesWith() - works well, but I still get bug in eraseFromParent():
While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi
An asserting value handle still pointed to this value!
UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561!
Yours sincerely,
Kadysev Mikhail
21.04.2012, в 23:45, Nick Lewycky написал(а):
> Михаил wrote:
>> How correctly remove function from module?
>> Fo...
2012 Apr 22
0
[LLVMdev] Remove function from module
Михаил wrote:
> Thanks, but I replaceAllUsesWith() - works well, but I still get bug in
> eraseFromParent():
>
> While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi
> An asserting value handle still pointed to this value!
> UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561!
The replaceAllUsesWith + eraseFromParent pattern remains correct, but
there's more to the story than the parts we've focused on. This error
means...
2012 Apr 22
2
[LLVMdev] Remove function from module
...s with AnalysisUsage of CallGraph
Yours sincerely,
Kadysev Mikhail
22.04.2012, в 5:20, Nick Lewycky написал(а):
> Михаил wrote:
>> Thanks, but I replaceAllUsesWith() - works well, but I still get bug in
>> eraseFromParent():
>>
>> While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi
>> An asserting value handle still pointed to this value!
>> UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561!
>
> The replaceAllUsesWith + eraseFromParent pattern remains correct, but there's more to the story than the parts we've focused on. T...
2012 Apr 22
0
[LLVMdev] Remove function from module
...rs sincerely,
> Kadysev Mikhail
>
> 22.04.2012, в 5:20, Nick Lewycky написал(а):
>
>> Михаил wrote:
>>> Thanks, but I replaceAllUsesWith() - works well, but I still get bug in
>>> eraseFromParent():
>>>
>>> While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi
>>> An asserting value handle still pointed to this value!
>>> UNREACHABLE executed at
>>> /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561!
>>
>> The replaceAllUsesWith + eraseFromParent pattern remains correct, but
>> there's more to the story t...
2012 Apr 21
0
[LLVMdev] Remove function from module
...gt;>
>> 22 апреля 2012 г. 0:09 пользователь Михаил <neonomaly.x at gmail.com> написал:
>>
>> Thanks, but I replaceAllUsesWith() - works well, but I still get bug in
>>
>> eraseFromParent():
>>
>>
>> While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi
>>
>> An asserting value handle still pointed to this value!
>>
>> UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561!
>>
>>
>>
>> Yours sincerely,
>>
>> Kadysev Mikhail
>>
>>
>> 21.04.201...
2012 Apr 21
0
[LLVMdev] Remove function from module
Михаил wrote:
> How correctly remove function from module?
> For example:
>
> int f1(int x) {
> ...
> a = f2(smth);
> ...
> }
> int f2 (int y) {
> ...
> b = f1(smth);
> ...
> }
>
> I need delete from module both f1 and f2. They haven't uses in other
> part of module, but I can't delete them with eraseFromParent, because
> they are use each
2012 Apr 21
3
[LLVMdev] Remove function from module
How correctly remove function from module?
For example:
int f1(int x) {
...
a = f2(smth);
...
}
int f2 (int y) {
...
b = f1(smth);
...
}
I need delete from module both f1 and f2. They haven't uses in other part of module, but I can't delete them with eraseFromParent, because they are use each other.
Yours sincerely,
Kadysev Mikhail
-------------- next part