aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.cc
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2024-10-11 14:54:15 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-04 16:57:57 +0100
commit0c8bdc2411b3b123820f5b93d9ae7d8d12e06739 (patch)
treeffa3b1ae90ce1b548126ed3f004dcf630794be4a /gcc/dwarf2codeview.cc
parent047d6d9808bbde26d161ac736067c4b5d2bb77af (diff)
downloadgcc-0c8bdc2411b3b123820f5b93d9ae7d8d12e06739.zip
gcc-0c8bdc2411b3b123820f5b93d9ae7d8d12e06739.tar.gz
gcc-0c8bdc2411b3b123820f5b93d9ae7d8d12e06739.tar.bz2
ada: Tweak CPU affinity handling
The primary motivation for this change is making the taskset command line tool work as expected for tasking programs that don't use features from section D.16 of the Ada reference manual. A couple of components are added to the ATCB record to make it possible to tell values that come from explicit aspects and subprogram calls from values that are inherited from activating tasks. gcc/ada/ChangeLog: * libgnarl/s-mudido__affinity.adb (Unchecked_Set_Affinity): Set new ATCB component. * libgnarl/s-taprop__linux.adb (Create_Task): Only set CPU affinity when required. (Requires_Affinity_Change): New subprogram. (Set_Task_Affinity): Likewise. * libgnarl/s-tarest.adb (Create_Restricted_Task): Adapt to Initialize_ATCB change. * libgnarl/s-taskin.adb (Initialize_ATCB): Update parameter list. Record whether aspects were explicitly specified. * libgnarl/s-taskin.ads (Common_ATCB): Add component. * libgnarl/s-tassta.adb (Create_Task): Update call to Initialize_ATCB. * libgnarl/s-tporft.adb (Register_Foreign_Thread): Likewise.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions