[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

Duo Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 09:48:42 PST 2024


================
@@ -1,18 +1,12 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-backtrace-limit=2 %s
-//
-// FIXME: Disable this test when Clang was built with ASan, because ASan
-// increases our per-frame stack usage enough that this test no longer fits
-// within our normal stack space allocation.
-// UNSUPPORTED: asan
-//
+// RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-backtrace-limit=2 -Wno-stack-exhausted %s
----------------
wdunicornpro wrote:

Great point. Just pushed an update.

https://github.com/llvm/llvm-project/pull/75254


More information about the cfe-commits mailing list