Changeset 4984 in CLRX


Ignore:
Timestamp:
Sep 19, 2019, 7:16:33 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCmGen: Fixed stupid segfaults.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r4983 r4984  
    493493 */
    494494
    495 ROCmBinGenerator::ROCmBinGenerator() : manageable(false), input(nullptr)
     495ROCmBinGenerator::ROCmBinGenerator() : manageable(false), input(nullptr),
     496                rocmLLVMGDataGen(nullptr)
    496497{ }
    497498
    498499ROCmBinGenerator::ROCmBinGenerator(const ROCmInput* rocmInput)
    499         : manageable(false), input(rocmInput), rocmGotGen(nullptr), rocmRelaDynGen(nullptr)
     500        : manageable(false), input(rocmInput), rocmGotGen(nullptr), rocmRelaDynGen(nullptr),
     501          rocmLLVMGDataGen(nullptr)
    500502{ }
    501503
     
    504506        size_t globalDataSize, const cxbyte* globalData,
    505507        const std::vector<ROCmSymbolInput>& symbols) :
    506         rocmGotGen(nullptr), rocmRelaDynGen(nullptr)
     508        rocmGotGen(nullptr), rocmRelaDynGen(nullptr), rocmLLVMGDataGen(nullptr)
    507509{
    508510    std::unique_ptr<ROCmInput> _input(new ROCmInput{});
Note: See TracChangeset for help on using the changeset viewer.