Displaying 1 result from an estimated 1 matches for "getobjectalloc".
2020 May 06
2
Unexpected behavior found in Stack Coloring pass, need clarification
...tackColoring_8cpp_source.html
bool StackColoring::runOnMachineFunction(MachineFunction &Func) {
...
...
remapInstructions(SlotRemap);
+ bool markerCount = removeAllMarkers();
+ DenseMap<int, int>::iterator itr = SlotRemap.begin();
+ const AllocaInst *dInst = MFI->getObjectAllocation(itr->first);
+ LLVM_DEBUG(dbgs() << "Set break point here to inspect dInst\n");
+ return markerCount;
}
I'm using the following test-case to reproduce the issue:
*testcase.cpp*
class d {
float b[4];
};
d operator-(d);
struct e {
struct f {
int *c[4];...