Skip to content

Commit 1ac3d60

Browse files
committed
Minor fix in logging conditions for assembly issues.
1 parent 42e8ce4 commit 1ac3d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ private function cleanUpClangOutput ($clang_output, $compiler_config) {
11491149
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang reports core issue.");
11501150
$coreFound = true;
11511151
}
1152-
if (strpos($body, "in asm") !== false && $asmFound === false) {
1152+
if ((strpos($header, "in asm") !== false || strpos($body, "in asm") !== false) && $asmFound === false) {
11531153
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang reports assembly issue.");
11541154
$asmFound = true;
11551155
}

0 commit comments

Comments
 (0)