Consume the code obj args to prevent duplicates

[ROCm/clr commit: 3a57510fbb]
이 커밋은 다음에 포함됨:
Aaron Enye Shi가 2019-02-19 17:02:27 +00:00를 커밋했습니다
1 부모 4d417bfe2e
커밋 0e1fc751ea
1 파일이 변경됨
+6
+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' ) {