diff options
author | Mirko Brkusanin <Mirko.Brkusanin@rt-rk.com> | 2019-10-08 14:32:03 +0000 |
---|---|---|
committer | Mirko Brkusanin <Mirko.Brkusanin@rt-rk.com> | 2019-10-08 14:32:03 +0000 |
commit | 45e0f2437327e753b0cd20fbe6fa25c8e1b226c7 (patch) | |
tree | 49e56d81f3c915f761557fcea0fc61a08c0a53ce /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2cd0f2895946de546d066f67c88ff365d3210017 (diff) | |
download | llvm-45e0f2437327e753b0cd20fbe6fa25c8e1b226c7.zip llvm-45e0f2437327e753b0cd20fbe6fa25c8e1b226c7.tar.gz llvm-45e0f2437327e753b0cd20fbe6fa25c8e1b226c7.tar.bz2 |
[Mips] Emit proper ABI for _mcount calls
When -pg option is present than a call to _mcount is inserted into every
function. However since the proper ABI was not followed then the generated
gmon.out did not give proper results. By inserting needed instructions
before every _mcount we can fix this.
Differential Revision: https://reviews.llvm.org/D68390
llvm-svn: 374055
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions