diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-10 14:29:55 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-10 14:29:55 +0000 |
commit | 2a0932fb450af68ea7fe99f0346574eaa13144d2 (patch) | |
tree | 5448dead0786a212eced11a73e7b752238518db8 /clang/lib/Basic/Targets.cpp | |
parent | bab9979ee9cbaf078b7d044a70989f54e9afee9e (diff) | |
download | bcm5719-llvm-2a0932fb450af68ea7fe99f0346574eaa13144d2.tar.gz bcm5719-llvm-2a0932fb450af68ea7fe99f0346574eaa13144d2.zip |
Correct pg instrumentation for AArch64
It seems that there was a miscommunication between Renato and I, and the
original behaviour of AArch64 was to be preserved and not to mirror the new
behaviour. Restore the original behaviour for AArch64. Addresses post-commit
review comments from Renato Golin.
llvm-svn: 265899
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 7c5c7bbe6b3..b6253de1570 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -5464,11 +5464,6 @@ public: // AArch64 targets default to using the ARM C++ ABI. TheCXXABI.set(TargetCXXABI::GenericAArch64); - - if (Triple.getOS() == llvm::Triple::Linux || - Triple.getOS() == llvm::Triple::UnknownOS) - this->MCountName = - Opts.EABIVersion == "gnu" ? "\01__gnu_mcount_nc" : "\01mcount"; } StringRef getABI() const override { return ABI; } |