Files
clang-p2996/lld/test/ELF
Rui Ueyama a592aeb35a ELF: allow non allocated sections to go into allocated sections
Patch from Andrew Kelley.

For context, see https://bugs.llvm.org/show_bug.cgi?id=39862

The use case is embedded / OS programming where the kernel wants
access to its own debug info via mapped dwarf info. I have a proof of
concept of this working, using this linker script snippet:

  .rodata : ALIGN(4K) {
    *(.rodata)
    __debug_info_start = .;
    KEEP(*(.debug_info))
    __debug_info_end = .;
    __debug_abbrev_start = .;
    KEEP(*(.debug_abbrev))
    __debug_abbrev_end = .;
    __debug_str_start = .;
    KEEP(*(.debug_str))
    __debug_str_end = .;
    __debug_line_start = .;
    KEEP(*(.debug_line))
    __debug_line_end =
    .;
    __debug_ranges_start
    = .;
    KEEP(*(.debug_ranges))
    __debug_ranges_end
    = .;
  }

Differential revision: https://reviews.llvm.org/D55276

llvm-svn: 348291
2018-12-04 18:47:44 +00:00
..
2018-10-04 00:07:59 +00:00
2018-07-05 16:03:20 +00:00
2018-03-14 22:05:12 +00:00
2018-04-25 00:29:13 +00:00
2018-03-01 01:05:04 +00:00
2018-11-14 17:56:43 +00:00
2018-11-14 17:56:43 +00:00
2018-06-26 22:20:04 +00:00
2018-04-09 12:45:29 +00:00
2018-11-27 09:48:17 +00:00
2018-06-26 22:20:04 +00:00
2018-04-20 01:21:24 +00:00
2018-04-25 00:29:13 +00:00
2017-12-12 20:00:30 +00:00
2018-06-26 22:20:04 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-03-27 16:10:01 +00:00
2018-08-24 16:22:42 +00:00
2018-11-14 17:56:43 +00:00
2018-01-31 02:03:55 +00:00
2018-08-09 17:59:56 +00:00
2018-08-09 17:59:56 +00:00
2018-08-09 17:59:56 +00:00
2018-08-09 17:59:56 +00:00
2018-08-09 17:59:56 +00:00
2018-08-09 17:59:56 +00:00
2018-03-14 20:29:45 +00:00
2018-10-08 17:24:29 +00:00
2018-11-16 19:24:45 +00:00
2018-04-24 23:03:58 +00:00
2018-08-22 07:02:26 +00:00
2018-08-22 07:02:26 +00:00
2018-08-22 07:02:26 +00:00
2018-08-22 07:02:26 +00:00
2018-04-26 06:10:18 +00:00