Go to file
Rafael Espindola 4f013bb3b2 Create an OutputSection for each non-empty OutputSectionCommand.
We were already pretty close, the one exception was when a name was
reused in another SECTIONS directive:

SECTIONS {
  .text : { *(.text) }
  .data : { *(.data) }
}
SECTIONS {
  .data : { *(other) }
}

In this case we would create a single .data and magically output
"other" while looking at the first OutputSectionCommand.

We now create two .data sections. This matches what gold does. If we
really want to create a single one, we should change the parser so that
the above is parsed as if the user had written

SECTIONS {
  .text : { *(.text) }
  .data : { *(.data) *(other)}
}

That is, there should be only one OutputSectionCommand for .data and
it would have two InputSectionDescriptions.

By itself this patch makes the code a bit more complicated, but is an
important step in allowing assignAddresses to operate just on the
linker script.

llvm-svn: 301484
2017-04-26 22:30:15 +00:00
clang [ubsan] nullability-assign: Check assignments into C++ structs 2017-04-26 21:55:17 +00:00
clang-tools-extra Fix API breaks 2017-04-26 20:58:03 +00:00
compiler-rt Mark two tests (dead-strip.c, initialization-bug.cc) as unsupported on iOS. 2017-04-26 21:34:18 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Add missing acquire_load to call_once overload. 2017-04-23 16:58:48 +00:00
libcxxabi Fix PR25874 - cxa_thread_atexit_test.pass.cpp has an incorrect XFAIL. 2017-04-20 23:40:35 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld Create an OutputSection for each non-empty OutputSectionCommand. 2017-04-26 22:30:15 +00:00
lldb Update lldb to match clang r301442. 2017-04-26 22:10:53 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [LibCallsShrinkWrap] Remove an unnecessary class member variable. 2017-04-26 21:28:40 +00:00
openmp Fix Hwloc API Incompatibility 2017-04-25 19:04:07 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [unittests/DeLICM] Add test for Written vs Written. 2017-04-26 21:52:55 +00:00