mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 19:36:28 +00:00
Add a file comment to SyntheticSections.h.
llvm-svn: 292980
This commit is contained in:
parent
a5eb1689dc
commit
8981f3aacf
@ -6,6 +6,21 @@
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// Synthetic sections represent chunks of linker-created data. If you
|
||||
// need to create a chunk of data that to be included in some section
|
||||
// in the result, you probably want to create it as a synthetic section.
|
||||
//
|
||||
// In reality, there are a few linker-synthesized chunks that are not
|
||||
// of synthetic sections, such as thunks. But we are rewriting them so
|
||||
// that eventually they are represented as synthetic sections.
|
||||
//
|
||||
// Synthetic sections are designed as input sections as opposed to
|
||||
// output sections because we want to allow them to be manipulated
|
||||
// using linker scripts just like other input sections from regular
|
||||
// files.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLD_ELF_SYNTHETIC_SECTION_H
|
||||
#define LLD_ELF_SYNTHETIC_SECTION_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user