From 549d0da4062e8966449976b29d35b964a6cdcc03 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Mon, 14 Nov 2011 23:54:34 +0000 Subject: Roll clang 143497:144521 Linux directory detection is now done in the driver instead of in the frontend, so let the plugin test script invoke the driver instead of clang -cc1 (else it won't find etc on linux). BUG=none TEST=none TBR=hans Review URL: http://codereview.chromium.org/8538027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109982 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/clang/plugins/tests/test.sh | 6 +++--- tools/clang/scripts/update.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/clang') diff --git a/tools/clang/plugins/tests/test.sh b/tools/clang/plugins/tests/test.sh index c74cd3a..fcfd213 100755 --- a/tools/clang/plugins/tests/test.sh +++ b/tools/clang/plugins/tests/test.sh @@ -23,9 +23,9 @@ usage() { # Runs a single test case. do_testcase() { - local output="$("${CLANG_DIR}"/bin/clang -cc1 \ - -load "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \ - -plugin find-bad-constructs ${1} 2>&1)" + local output="$("${CLANG_DIR}"/bin/clang -c \ + -Xclang -load -Xclang "${CLANG_DIR}"/lib/libFindBadConstructs.${LIB} \ + -Xclang -plugin -Xclang find-bad-constructs ${1} 2>&1)" local diffout="$(echo "${output}" | diff - "${2}")" if [ "${diffout}" = "" ]; then echo "PASS: ${1}" diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh index 0cfa558..c3eae93 100755 --- a/tools/clang/scripts/update.sh +++ b/tools/clang/scripts/update.sh @@ -7,7 +7,7 @@ # Do NOT CHANGE this if you don't know what you're doing -- see # http://code.google.com/p/chromium/wiki/UpdatingClang -CLANG_REVISION=143497 +CLANG_REVISION=144521 THIS_DIR="$(dirname "${0}")" LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" -- cgit v1.1