136611c6f3
of interest in the static analyser and it basically works, so put it in now and link to the build later. Low Level Virtual Machine (LLVM) is: - A compilation strategy designed to enable effective program optimization across the entire lifetime of a program. - A virtual instruction set. - A compiler infrastructure. - LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation. some parts from chl@ and the FreeBSD port.
22 lines
782 B
Plaintext
22 lines
782 B
Plaintext
$OpenBSD: patch-tools_clang_utils_scan-build,v 1.1.1.1 2008/11/10 11:25:33 sthen Exp $
|
|
--- tools/clang/utils/scan-build.orig Tue Nov 4 00:22:12 2008
|
|
+++ tools/clang/utils/scan-build Sun Nov 9 22:58:06 2008
|
|
@@ -406,7 +406,7 @@ sub CopyFiles {
|
|
|
|
my $Dir = shift;
|
|
|
|
- my $JS = Cwd::realpath("$RealBin/sorttable.js");
|
|
+ my $JS = Cwd::realpath("${LOCALBASE}/share/llvm/sorttable.js");
|
|
|
|
DieDiag("Cannot find 'sorttable.js'.\n")
|
|
if (! -r $JS);
|
|
@@ -416,7 +416,7 @@ sub CopyFiles {
|
|
DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n")
|
|
if (! -r "$Dir/sorttable.js");
|
|
|
|
- my $CSS = Cwd::realpath("$RealBin/scanview.css");
|
|
+ my $CSS = Cwd::realpath("${LOCALBASE}/share/llvm/scanview.css");
|
|
|
|
DieDiag("Cannot find 'scanview.css'.\n")
|
|
if (! -r $CSS);
|