Consume the code obj args to prevent duplicates

[ROCm/clr commit: 3a57510fbb]
Этот коммит содержится в:
Aaron Enye Shi
2019-02-19 17:02:27 +00:00
родитель 4d417bfe2e
Коммит 0e1fc751ea
+6
Просмотреть файл
@@ -424,8 +424,14 @@ foreach $arg (@ARGV)
$swallowArg = 1;
}
if (($trimarg eq '-mno-code-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
$useCodeObjectV3 = 0;
$swallowArg = 1;
}
if (($trimarg eq '-mcode-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
$useCodeObjectV3 = 1;
$swallowArg = 1;
}
if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {