[llvm-branch-commits] [cfe-branch] r276113 - Add attribute abi_tag to the release notes
Author: hans Date: Wed Jul 20 08:28:36 2016 New Revision: 276113 URL: http://llvm.org/viewvc/llvm-project?rev=276113&view=rev Log: Add attribute abi_tag to the release notes Patch by Dmitry Polukhin ! Differential Revision: https://reviews.llvm.org/D21970 Modified: cfe/branches/release_39/docs/ReleaseNotes.rst Modified: cfe/branches/release_39/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/docs/ReleaseNotes.rst?rev=276113&r1=276112&r2=276113&view=diff == --- cfe/branches/release_39/docs/ReleaseNotes.rst (original) +++ cfe/branches/release_39/docs/ReleaseNotes.rst Wed Jul 20 08:28:36 2016 @@ -51,6 +51,9 @@ Major New Features linkers that is a relatively expensive option. It can be passed explicitly with -Wl,--build-id. To have clang always pass it, build clang with -DENABLE_LINKER_BUILD_ID. +- On Itanium ABI targets, attribute abi_tag is now supported for compatibility + with GCC. Clang implementation of abi_tag is mostly compatible with GCC ABI + version 10. Improvements to Clang's diagnostics ^^^ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r276114 - Merging r275946 and r275948:
Author: hans Date: Wed Jul 20 08:43:47 2016 New Revision: 276114 URL: http://llvm.org/viewvc/llvm-project?rev=276114&view=rev Log: Merging r275946 and r275948: r275946 | bruening | 2016-07-18 22:03:38 -0700 (Mon, 18 Jul 2016) | 5 lines [esan] Fix sideline thread flaky assert Fixes an esan sideline thread CHECK that failed to account for the sideline thread reaching its code before the internal_clone() return value was assigned in the parent. r275948 | bruening | 2016-07-18 22:06:48 -0700 (Mon, 18 Jul 2016) | 4 lines [esan|wset] Fix flaky sampling tests Adds a new esan public interface routine __esan_get_sample_count() and uses it to ensure that tests of sampling receive the minimum number of samples. Modified: compiler-rt/branches/release_39/ (props changed) compiler-rt/branches/release_39/include/sanitizer/esan_interface.h compiler-rt/branches/release_39/lib/esan/esan.cpp compiler-rt/branches/release_39/lib/esan/esan.h compiler-rt/branches/release_39/lib/esan/esan_interface.cpp compiler-rt/branches/release_39/lib/esan/esan_sideline_linux.cpp compiler-rt/branches/release_39/lib/esan/working_set.cpp compiler-rt/branches/release_39/lib/esan/working_set.h compiler-rt/branches/release_39/test/esan/TestCases/workingset-midreport.cpp compiler-rt/branches/release_39/test/esan/TestCases/workingset-samples.cpp Propchange: compiler-rt/branches/release_39/ -- svn:mergeinfo = /compiler-rt/trunk:275946,275948 Modified: compiler-rt/branches/release_39/include/sanitizer/esan_interface.h URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/include/sanitizer/esan_interface.h?rev=276114&r1=276113&r2=276114&view=diff == --- compiler-rt/branches/release_39/include/sanitizer/esan_interface.h (original) +++ compiler-rt/branches/release_39/include/sanitizer/esan_interface.h Wed Jul 20 08:43:47 2016 @@ -39,6 +39,10 @@ extern "C" { // data for that point in the run be reported from the tool. void COMPILER_RT_WEAK __esan_report(); +// This function returns the number of samples that the esan tool has collected +// to this point. This is useful for testing. +unsigned int COMPILER_RT_WEAK __esan_get_sample_count(); + #ifdef __cplusplus } // extern "C" #endif Modified: compiler-rt/branches/release_39/lib/esan/esan.cpp URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/lib/esan/esan.cpp?rev=276114&r1=276113&r2=276114&view=diff == --- compiler-rt/branches/release_39/lib/esan/esan.cpp (original) +++ compiler-rt/branches/release_39/lib/esan/esan.cpp Wed Jul 20 08:43:47 2016 @@ -259,4 +259,12 @@ void processCompilationUnitExit(void *Pt } } +unsigned int getSampleCount() { + VPrintf(1, "in esan::%s\n", __FUNCTION__); + if (__esan_which_tool == ESAN_WorkingSet) { +return getSampleCountWorkingSet(); + } + return 0; +} + } // namespace __esan Modified: compiler-rt/branches/release_39/lib/esan/esan.h URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/lib/esan/esan.h?rev=276114&r1=276113&r2=276114&view=diff == --- compiler-rt/branches/release_39/lib/esan/esan.h (original) +++ compiler-rt/branches/release_39/lib/esan/esan.h Wed Jul 20 08:43:47 2016 @@ -38,6 +38,7 @@ extern bool EsanDuringInit; void initializeLibrary(ToolType Tool); int finalizeLibrary(); void reportResults(); +unsigned int getSampleCount(); // Esan creates the variable per tool per compilation unit at compile time // and passes its pointer Ptr to the runtime library. void processCompilationUnitInit(void *Ptr); Modified: compiler-rt/branches/release_39/lib/esan/esan_interface.cpp URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/lib/esan/esan_interface.cpp?rev=276114&r1=276113&r2=276114&view=diff == --- compiler-rt/branches/release_39/lib/esan/esan_interface.cpp (original) +++ compiler-rt/branches/release_39/lib/esan/esan_interface.cpp Wed Jul 20 08:43:47 2016 @@ -115,4 +115,8 @@ extern "C" { SANITIZER_INTERFACE_ATTRIBUTE void __esan_report() { reportResults(); } + +SANITIZER_INTERFACE_ATTRIBUTE unsigned int __esan_get_sample_count() { + return getSampleCount(); +} } // extern "C" Modified: compiler-rt/branches/release_39/lib/esan/esan_sideline_linux.cpp URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_39/lib/esan
[llvm-branch-commits] [clang-tools-extra-branch] r276115 - Merging r275943:
Author: hans Date: Wed Jul 20 08:45:40 2016 New Revision: 276115 URL: http://llvm.org/viewvc/llvm-project?rev=276115&view=rev Log: Merging r275943: r275943 | compnerd | 2016-07-18 19:13:08 -0700 (Mon, 18 Jul 2016) | 1 line clang-rename: fix referenced variable in vim-script Modified: clang-tools-extra/branches/release_39/ (props changed) clang-tools-extra/branches/release_39/clang-rename/tool/clang-rename.py Propchange: clang-tools-extra/branches/release_39/ -- svn:mergeinfo = /clang-tools-extra/trunk:275943 Modified: clang-tools-extra/branches/release_39/clang-rename/tool/clang-rename.py URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/branches/release_39/clang-rename/tool/clang-rename.py?rev=276115&r1=276114&r2=276115&view=diff == --- clang-tools-extra/branches/release_39/clang-rename/tool/clang-rename.py (original) +++ clang-tools-extra/branches/release_39/clang-rename/tool/clang-rename.py Wed Jul 20 08:45:40 2016 @@ -25,7 +25,7 @@ import sys def main(): binary = 'clang-rename' if vim.eval('exists("g:clang_rename_path")') == "1": -binary = vim.eval('g:clang_rename') +binary = vim.eval('g:clang_rename_path') # Get arguments for clang-rename binary. offset = int(vim.eval('line2byte(line("."))+col(".")')) - 2 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r276116 - Merging r275935:
Author: hans Date: Wed Jul 20 09:09:21 2016 New Revision: 276116 URL: http://llvm.org/viewvc/llvm-project?rev=276116&view=rev Log: Merging r275935: r275935 | arsenm | 2016-07-18 17:35:22 -0700 (Mon, 18 Jul 2016) | 6 lines AMDGPU/SI: Fix SI scheduler refcount issue Without this fix, releaseSuccessors when InOrOutBlock is false could release SUs outside the schedule BasicBlock. Patch by Axel Davy Modified: llvm/branches/release_39/ (props changed) llvm/branches/release_39/lib/Target/AMDGPU/SIMachineScheduler.cpp Propchange: llvm/branches/release_39/ -- --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jul 20 09:09:21 2016 @@ -1,3 +1,3 @@ /llvm/branches/Apple/Pertwee:110850,110961 /llvm/branches/type-system-rewrite:133420-134817 -/llvm/trunk:155241,275870,275879,275898 +/llvm/trunk:155241,275870,275879,275898,275935,275946 Modified: llvm/branches/release_39/lib/Target/AMDGPU/SIMachineScheduler.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_39/lib/Target/AMDGPU/SIMachineScheduler.cpp?rev=276116&r1=276115&r2=276116&view=diff == --- llvm/branches/release_39/lib/Target/AMDGPU/SIMachineScheduler.cpp (original) +++ llvm/branches/release_39/lib/Target/AMDGPU/SIMachineScheduler.cpp Wed Jul 20 09:09:21 2016 @@ -464,6 +464,9 @@ void SIScheduleBlock::releaseSuccessors( for (SDep& Succ : SU->Succs) { SUnit *SuccSU = Succ.getSUnit(); +if (SuccSU->NodeNum >= DAG->SUnits.size()) +continue; + if (BC->isSUInBlock(SuccSU, ID) != InOrOutBlock) continue; ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits