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


[ROCm/clr commit: 8ab3fd58cf]
This commit is contained in:
Juan Manuel MARTINEZ CAAMAÑO authored and Juan MartinezFernandez committed 2023-01-16 03:34:21 -05:00
1 bovenliggende 9e755a3aea
commit 16a5bfd654
2 files changed
+5 -5

No files matched your search

@@ -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);