summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/castexpr-basepathsize-threshold.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a passing XFAIL testErik Pilkington2019-08-281-3/+3
| | | | | | | Now that we can gracefully handle stack exhaustion, this test was passing in darwin && asan. Instead, just unsupport it when threading is unavailable. llvm-svn: 370270
* [CodeGenCXX] XFAIL test for ASAN on Darwin.Volodymyr Sapsai2018-11-061-0/+4
| | | | | | | | | | | | | | | | | | The test hits stack overflow trying to instantiate recursive templates. It is observed with ASAN and not with a regular build because ASAN increases stack frame size. rdar://problem/45009892 Reviewers: george.karpenkov, lebedev.ri Reviewed By: george.karpenkov Subscribers: dexonsmith, rjmccall, cfe-commits Differential Revision: https://reviews.llvm.org/D54132 llvm-svn: 346200
* [NFC][CodeGenCXX] Use -emit-llvm-only instead of -emit-llvm and ignoring it.Roman Lebedev2018-08-011-1/+1
| | | | | | As pointed out by Richard Smith in post-review of r338489. llvm-svn: 338640
* [AST] CastExpr: BasePathSize is not large enough.Roman Lebedev2018-08-011-0/+27
Summary: rC337815 / D49508 had to cannibalize one bit of `CastExprBitfields::BasePathSize` in order to squeeze `PartOfExplicitCast` boolean. That reduced the maximal value of `PartOfExplicitCast` from 9 bits (~512) down to 8 bits (~256). Apparently, that mattered. Too bad there weren't any tests. It caused [[ https://bugs.llvm.org/show_bug.cgi?id=38356 | PR38356 ]]. So we need to increase `PartOfExplicitCast` back at least to 9 bits, or a bit more. For obvious reasons, we can't do that in `CastExprBitfields` - that would blow up the size of every `Expr`. So we need to either just add a variable into the `CastExpr` (as done here), or use `llvm::TrailingObjects`. The latter does not seem to be straight-forward. Perhaps, that needs to be done not for the `CastExpr` itself, but for all of it's `final` children. Reviewers: rjmccall, rsmith, erichkeane Reviewed By: rjmccall Subscribers: bricci, hans, cfe-commits, waddlesplash Differential Revision: https://reviews.llvm.org/D50050 llvm-svn: 338489
OpenPOWER on IntegriCloud