SWDEV-287018 - Remove requiredDump argument from Program::linkLLVMBitcode

Weirdly, the `requiredDump` argument to linkLLVMBitcode was used to enable/disable
the keeping temporary bytecode files (those generated by -save-temps=all) after linking.

This patch removes this argument as there is no obvious benefit from keepeing it
(the user would only rely on -save-temps=all to control this).

Change-Id: I0c00486f95eb1d4e296b5247c488407c47f0b2d9
This commit is contained in:
Juan Manuel MARTINEZ CAAMAÑO
2023-01-12 17:46:39 +01:00
committed by Juan MartinezFernandez
parent 097e8f270a
commit 8ab3fd58cf
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ class Program : public amd::HeapObject {
//! Create the bitcode of the linked input dataset
bool linkLLVMBitcode(const amd_comgr_data_set_t inputs,
const std::vector<std::string>& options, const bool requiredDump,
const std::vector<std::string>& options,
amd::option::Options* amdOptions, amd_comgr_data_set_t* output,
char* binaryData[] = nullptr, size_t* binarySize = nullptr,
const bool link_dev_libs = true);