зеркало из https://github.com/microsoft/clang-1.git
Add support for -rdynamic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
c1da981bba
Коммит
dc1b76ddfc
|
@ -566,6 +566,7 @@ def read__only__relocs : Separate<"-read_only_relocs">;
|
|||
def remap : Flag<"-remap">;
|
||||
def rewrite_objc : Flag<"-rewrite-objc">, Flags<[DriverOption]>,
|
||||
HelpText<"Rewrite Objective-C source to C++">;
|
||||
def rdynamic : Flag<"-rdynamic">;
|
||||
def rpath : Separate<"-rpath">, Flags<[LinkerInput]>;
|
||||
def r : Flag<"-r">;
|
||||
def save_temps : Flag<"-save-temps">, Flags<[DriverOption]>,
|
||||
|
|
|
@ -3151,6 +3151,9 @@ void linuxtools::Link::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
CmdArgs.push_back(A->getValue(Args));
|
||||
}
|
||||
|
||||
if (Args.hasArg(options::OPT_rdynamic))
|
||||
CmdArgs.push_back("-export-dynamic");
|
||||
|
||||
for (std::vector<std::string>::const_iterator i = ToolChain.ExtraOpts.begin(),
|
||||
e = ToolChain.ExtraOpts.end();
|
||||
i != e; ++i)
|
||||
|
|
Загрузка…
Ссылка в новой задаче