Changeset 2528 in CLRX


Ignore:
Timestamp:
Nov 4, 2016, 3:01:28 PM (3 years ago)
Author:
matszpk
Message:

CLRadeonExtender: DisasmROCm: print labels after any region (if last region is not kernel).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/DisasmROCm.cpp

    r2527 r2528  
    499499            }
    500500        }
     501       
     502        if (regionsNum!=0 && !rocmInput->regions[sorted[regionsNum-1].second].isKernel)
     503        {
     504            const ROCmDisasmRegionInput& region =
     505                        rocmInput->regions[sorted[regionsNum-1].second];
     506            isaDisassembler->writeLabelsToEnd(region.size, curLabel, curNamedLabel);
     507            isaDisassembler->flushOutput();
     508        }
    501509    }
    502510}
Note: See TracChangeset for help on using the changeset viewer.