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:
@@ -57,6 +57,12 @@ public:
|
||||
const TargetMachine &TM,
|
||||
const MCSymbol *Sym) 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 {
|
||||
return StringRef();
|
||||
}
|
||||
|
||||
/// emitModuleFlags - Emit the module flags that the platform cares about.
|
||||
virtual void emitModuleFlags(MCStreamer &,
|
||||
ArrayRef<Module::ModuleFlagEntry>,
|
||||
|
||||
Reference in New Issue
Block a user