[all-commits] [llvm/llvm-project] c6d799: [clangd] Skip ClangdVFSTest.TestStackOverflow when...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Sat Mar 21 03:36:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6d799156a0a351370dd428bd0fff83d467cec47
      https://github.com/llvm/llvm-project/commit/c6d799156a0a351370dd428bd0fff83d467cec47
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp

  Log Message:
  -----------
  [clangd] Skip ClangdVFSTest.TestStackOverflow when address sanitizer is used

Summary:
The ClangdVFSTest.TestStackOverflow unittest does not seem to work
when building the test with address sanitizer activated. Afaict the
goal is to get a constexpr depth error, rather than stack overflow.
But with asan instrumentation we do get stack overflow complaints
from asan. As a workaround this patch simply disables the test case,
when being built with address sanitizer activated.

Reviewers: sammccall, Dmitry.Kozhevnikov

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits, llvm-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76533




More information about the All-commits mailing list