Go to file
Rui Ueyama 1ebc8ed78a ELF: Add wildcard pattern matching to SECTIONS linker script command.
Each rule in SECTIONS commands is something like ".foo *(.baz.*)",
which instructs the linker to collect all sections whose name matches
".baz.*" from all files and put them into .foo section.

Previously, we didn't recognize the wildcard character. This patch
adds that feature.

Performance impact is a bit concerning because a linker script can
contain hundreds of SECTIONS rules, and doing pattern matching against
each rule would be too expensive. We could merge all patterns into
single DFA so that it takes O(n) to the input size. However, it is
probably too much at this moment -- we don't know whether the
performance of pattern matching matters or not. So I chose to
implement the simplest algorithm in this patch. I hope this simple
pattern matcher is sufficient.

llvm-svn: 260745
2016-02-12 21:47:28 +00:00
clang [CMake] Fixing bots I broke. 2016-02-12 21:46:25 +00:00
clang-tools-extra [clang-tidy] Add check performance-faster-string-find 2016-02-12 19:28:14 +00:00
compiler-rt [LSan] Print more helpful error message if LSan crashes during leak detection. 2016-02-12 20:20:51 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc configure: Remove llvm 3.6 defines 2016-02-09 22:17:48 +00:00
libcxx Instead of asking glibc to provide correct C++ signatures for <string.h> 2016-02-11 23:51:02 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld ELF: Add wildcard pattern matching to SECTIONS linker script command. 2016-02-12 21:47:28 +00:00
lldb IRInterpreter now recognizes expressions with constants it doesn't handle. 2016-02-12 21:16:58 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [PGO] Add another interface for annotateValueSite 2016-02-12 21:36:17 +00:00
openmp [OMPT] Frame information for openmp taskwait 2016-02-12 12:19:59 +00:00
polly Separate invariant equivalence classes by type 2016-02-07 17:30:13 +00:00