https://bugs.llvm.org/show_bug.cgi?id=52009

            Bug ID: 52009
           Summary: Regression in handling COMPILER_PATH in LLVM13
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: pawel.osmialow...@foss.arm.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk

After this commit: https://reviews.llvm.org/D97993 COMPILER_PATH environment
variable is not taken into account anymore. Apparently, two things were handled
by the same mechanism. Removing it for one thing, removed it for both.

The following lines (that aforementioned patch removes) are critical to
propagate COMPILER_PATH information:

  // Compute the set of prefixes for our search.
  SmallVector<std::string, 8> Prefixes(D.PrefixDirs.begin(),
                                       D.PrefixDirs.end());

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to