llvm-capstone/clang
Nico Weber 73f0584199 msabi: Fix exponential mangling time for certain pathological inputs
Template back references used to be recursively recomputed, add a
memoization cache to cut down on this.

Since there are now two different types of argument maps, rename the
existing TypeBackReferences to FunArgBackReferences, and rename
mangleArgumentType() to mangleFunctionArgumentType().

Fixes PR42091, the input there now takes 50ms instead of 7s to compile.

No intended behavior change.

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

llvm-svn: 362293
2019-06-01 10:12:07 +00:00
..
bindings
cmake [CMake] Provide an option to use relative paths in debug info 2019-05-31 01:34:51 +00:00
docs Clarify when fix-it hints on warnings are appropriate 2019-05-31 21:27:39 +00:00
examples
include [X86] Add VP2INTERSECT instructions 2019-05-31 06:09:35 +00:00
INPUTS
lib msabi: Fix exponential mangling time for certain pathological inputs 2019-06-01 10:12:07 +00:00
runtime [GWP-ASan] Mutex implementation [2]. 2019-05-30 19:45:32 +00:00
test msabi: Fix exponential mangling time for certain pathological inputs 2019-06-01 10:12:07 +00:00
tools Add Attribute NoThrow as an Exception Specifier Type 2019-05-30 17:31:54 +00:00
unittests [clang-format] Allow configuring list of function-like macros that resolve to a type 2019-05-29 16:30:47 +00:00
utils Add the objc_class_stub attribute. 2019-05-30 04:09:01 +00:00
www
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/