mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Adding new LTO APIs to parse metadata nodes and extract linker options and
dependent libraries from a bitcode module. Differential Revision: http://llvm-reviews.chandlerc.com/D2343 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -80,6 +80,10 @@ class TargetLoweringObjectFileMachO : public TargetLoweringObjectFile {
|
||||
public:
|
||||
virtual ~TargetLoweringObjectFileMachO() {}
|
||||
|
||||
/// getDepLibFromLinkerOpt - Extract the dependent library name from a linker
|
||||
/// option string. Returns StringRef() if the option does not specify a library.
|
||||
virtual StringRef getDepLibFromLinkerOpt(StringRef LinkerOption) const;
|
||||
|
||||
/// emitModuleFlags - Emit the module flags that specify the garbage
|
||||
/// collection information.
|
||||
virtual void emitModuleFlags(MCStreamer &Streamer,
|
||||
@@ -129,6 +133,10 @@ public:
|
||||
SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
Mangler *Mang, const TargetMachine &TM) const;
|
||||
|
||||
/// getDepLibFromLinkerOpt - Extract the dependent library name from a linker
|
||||
/// option string. Returns StringRef() if the option does not specify a library.
|
||||
virtual StringRef getDepLibFromLinkerOpt(StringRef LinkerOption) const;
|
||||
|
||||
/// emitModuleFlags - Emit Obj-C garbage collection and linker options. Only
|
||||
/// linker option emission is implemented for COFF.
|
||||
virtual void emitModuleFlags(MCStreamer &Streamer,
|
||||
|
||||
Reference in New Issue
Block a user