[libunwind] 0133e25 - [runtimes][NFC] Remove trailing whitespace

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 17 13:50:56 PST 2023


Author: Louis Dionne
Date: 2023-11-17T16:50:49-05:00
New Revision: 0133e25d99df9468ec3d9b523f14733a4b5e7180

URL: https://github.com/llvm/llvm-project/commit/0133e25d99df9468ec3d9b523f14733a4b5e7180
DIFF: https://github.com/llvm/llvm-project/commit/0133e25d99df9468ec3d9b523f14733a4b5e7180.diff

LOG: [runtimes][NFC] Remove trailing whitespace

Added: 
    

Modified: 
    libcxx/utils/data/unicode/emoji-data.txt
    libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S
    libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S
    libunwind/src/DwarfInstructions.hpp
    libunwind/src/UnwindRegistersSave.S

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/data/unicode/emoji-data.txt b/libcxx/utils/data/unicode/emoji-data.txt
index 999a43677993910..7942fc89a355943 100644
--- a/libcxx/utils/data/unicode/emoji-data.txt
+++ b/libcxx/utils/data/unicode/emoji-data.txt
@@ -9,8 +9,8 @@
 #
 # For documentation and usage, see https://www.unicode.org/reports/tr51
 #
-# Format: 
-# <codepoint(s)> ; <property> # <comments> 
+# Format:
+# <codepoint(s)> ; <property> # <comments>
 # Note: there is no guarantee as to the structure of whitespace or comments
 #
 # Characters and sequences are listed in code point order. Users should be shown a more natural order.

diff  --git a/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S b/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S
index d8a3ae0e91a05ef..71c3ab9409a81a3 100644
--- a/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S
+++ b/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S
@@ -127,30 +127,30 @@
 	.rename	H.50._ZTIi{TC},"_ZTIi"
 	.rename	H.54.main{TC},"main"
 
-	.lglobl	H.10.NO_SYMBOL{PR}      
-	.globl	._Z4barfv               
-	.globl	.main                   
-	.lglobl	H.16..__4               
-	.lglobl	H.18..__8               
-	.lglobl	H.20..__3               
-	.lglobl	H.26.NO_SYMBOL{RO}      
-	.lglobl	E.28.__STATIC{RW}       
-	.lglobl	__4{DS}                 
-	.lglobl	__8{DS}                 
-	.lglobl	__3{DS}                 
-	.globl	_Z4barfv{DS}            
-	.extern	_ZTIi{UA}               
-	.globl	main{DS}                
+	.lglobl	H.10.NO_SYMBOL{PR}
+	.globl	._Z4barfv
+	.globl	.main
+	.lglobl	H.16..__4
+	.lglobl	H.18..__8
+	.lglobl	H.20..__3
+	.lglobl	H.26.NO_SYMBOL{RO}
+	.lglobl	E.28.__STATIC{RW}
+	.lglobl	__4{DS}
+	.lglobl	__8{DS}
+	.lglobl	__3{DS}
+	.globl	_Z4barfv{DS}
+	.extern	_ZTIi{UA}
+	.globl	main{DS}
 	.extern	.__cxa_allocate_exception{PR}
-	.extern	.__cxa_throw{PR}        
+	.extern	.__cxa_throw{PR}
 	.extern	.wrap__xlc_exception_handle{PR}
 	.extern	.__xlc_catch_matchv2{PR}
-	.extern	.__cxa_begin_catch{PR}  
-	.extern	.printf{PR}             
-	.extern	.__cxa_end_catch{PR}    
-	.extern	._Unwind_Resume{PR}     
-	.extern	.__cxa_rethrow{PR}      
-	.extern	._ZSt9terminatev{PR}    
+	.extern	.__cxa_begin_catch{PR}
+	.extern	.printf{PR}
+	.extern	.__cxa_end_catch{PR}
+	.extern	._Unwind_Resume{PR}
+	.extern	.__cxa_rethrow{PR}
+	.extern	._ZSt9terminatev{PR}
 
 
 # .text section
@@ -158,7 +158,7 @@
 
 
 
-	.csect	H.10.NO_SYMBOL{PR}, 7   
+	.csect	H.10.NO_SYMBOL{PR}, 7
 ._Z4barfv:                              # 0x00000000 (H.10.NO_SYMBOL)
 	mfspr      r0,LR
 	stu        SP,-80(SP)
@@ -414,61 +414,61 @@ H.20..__3:                              # 0x00000240 (H.10.NO_SYMBOL+0x240)
 # .data section
 
 
-	.toc	                        # 0x00000280 
+	.toc	                        # 0x00000280
 T.46._Z4barfv:
 	.tc	H.46._Z4barfv{TC},_Z4barfv{DS}
 T.50._ZTIi:
 	.tc	H.50._ZTIi{TC},_ZTIi{UA}
 T.54.main:
-	.tc	H.54.main{TC},main{DS}  
+	.tc	H.54.main{TC},main{DS}
 T.30.__STATIC:
 	.tc	H.30.__STATIC{TC},E.28.__STATIC{RW}
 T.24.NO_SYMBOL:
 	.tc	H.24.NO_SYMBOL{TC},H.26.NO_SYMBOL{RO}
 T.34.__4:
-	.tc	H.34.__4{TC},__4{DS}    
+	.tc	H.34.__4{TC},__4{DS}
 T.38.__8:
-	.tc	H.38.__8{TC},__8{DS}    
+	.tc	H.38.__8{TC},__8{DS}
 T.42.__3:
-	.tc	H.42.__3{TC},__3{DS}    
+	.tc	H.42.__3{TC},__3{DS}
 
 
-	.csect	_Z4barfv{DS}            
+	.csect	_Z4barfv{DS}
 	.long	._Z4barfv               # "\0\0\0\0"
 	.long	TOC{TC0}                # "\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
 # End	csect	_Z4barfv{DS}
 
 
-	.csect	main{DS}                
+	.csect	main{DS}
 	.long	.main                   # "\0\0\0\200"
 	.long	TOC{TC0}                # "\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
 # End	csect	main{DS}
 
 
-	.csect	__4{DS}                 
+	.csect	__4{DS}
 	.long	H.16..__4               # "\0\0\002\0"
 	.long	TOC{TC0}                # "\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
 # End	csect	__4{DS}
 
 
-	.csect	__8{DS}                 
+	.csect	__8{DS}
 	.long	H.18..__8               # "\0\0\002 "
 	.long	TOC{TC0}                # "\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
 # End	csect	__8{DS}
 
 
-	.csect	__3{DS}                 
+	.csect	__3{DS}
 	.long	H.20..__3               # "\0\0\002@"
 	.long	TOC{TC0}                # "\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
 # End	csect	__3{DS}
 
 
-	.csect	E.28.__STATIC{RW}, 3    
+	.csect	E.28.__STATIC{RW}, 3
 	.long	0x1cedbeef              # "\034\355\276\357"
 	.long	0x00000003              # "\0\0\0\003"
 	.long	0x00000000              # "\0\0\0\0"
@@ -489,7 +489,7 @@ T.42.__3:
 # End	csect	E.28.__STATIC{RW}
 
 
-	.csect	H.26.NO_SYMBOL{RO}, 3   
+	.csect	H.26.NO_SYMBOL{RO}, 3
 	.long	0x63617567              # "caug"
 	.long	0x68742069              # "ht i"
 	.long	0x6e740a00              # "nt\n\0"
@@ -593,11 +593,11 @@ T.42.__3:
 	.rename	H.18.NO_SYMBOL{RO},""
 	.rename	H.22.wrap__xlc_exception_handle{TC},"wrap__xlc_exception_handle"
 
-	.lglobl	H.10.NO_SYMBOL{PR}      
+	.lglobl	H.10.NO_SYMBOL{PR}
 	.globl	.wrap__xlc_exception_handle
-	.lglobl	H.18.NO_SYMBOL{RO}      
+	.lglobl	H.18.NO_SYMBOL{RO}
 	.globl	wrap__xlc_exception_handle{DS}
-	.extern	.printf{PR}             
+	.extern	.printf{PR}
 	.extern	.__xlc_exception_handle{PR}
 
 
@@ -606,7 +606,7 @@ T.42.__3:
 
 
 
-	.csect	H.10.NO_SYMBOL{PR}, 7   
+	.csect	H.10.NO_SYMBOL{PR}, 7
 .wrap__xlc_exception_handle:            # 0x00000000 (H.10.NO_SYMBOL)
 	mfspr      r0,LR
 	st         r31,-4(SP)
@@ -653,7 +653,7 @@ T.42.__3:
 # .data section
 
 
-	.toc	                        # 0x00000080 
+	.toc	                        # 0x00000080
 T.22.wrap__xlc_exception_handle:
 	.tc	H.22.wrap__xlc_exception_handle{TC},wrap__xlc_exception_handle{DS}
 T.16.NO_SYMBOL:
@@ -667,7 +667,7 @@ T.16.NO_SYMBOL:
 # End	csect	wrap__xlc_exception_handle{DS}
 
 
-	.csect	H.18.NO_SYMBOL{RO}, 3   
+	.csect	H.18.NO_SYMBOL{RO}, 3
 	.long	0x77726170              # "wrap"
 	.long	0x5f5f786c              # "__xl"
 	.long	0x635f6578              # "c_ex"

diff  --git a/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S b/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S
index 011f5ff796b1ffd..da413577bd38f88 100644
--- a/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S
+++ b/libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S
@@ -127,30 +127,30 @@
 	.rename	H.44._ZTIi{TC},"_ZTIi"
 	.rename	H.48.main{TC},"main"
 
-	.lglobl	H.4.NO_SYMBOL{PR}       
-	.globl	._Z4barfv               
-	.globl	.main                   
-	.lglobl	H.10..__4               
-	.lglobl	H.12..__8               
-	.lglobl	H.14..__3               
-	.lglobl	H.20.NO_SYMBOL{RO}      
-	.lglobl	E.22.__STATIC{RW}       
-	.lglobl	__4{DS}                 
-	.lglobl	__8{DS}                 
-	.lglobl	__3{DS}                 
-	.globl	_Z4barfv{DS}            
-	.extern	_ZTIi{UA}               
-	.globl	main{DS}                
+	.lglobl	H.4.NO_SYMBOL{PR}
+	.globl	._Z4barfv
+	.globl	.main
+	.lglobl	H.10..__4
+	.lglobl	H.12..__8
+	.lglobl	H.14..__3
+	.lglobl	H.20.NO_SYMBOL{RO}
+	.lglobl	E.22.__STATIC{RW}
+	.lglobl	__4{DS}
+	.lglobl	__8{DS}
+	.lglobl	__3{DS}
+	.globl	_Z4barfv{DS}
+	.extern	_ZTIi{UA}
+	.globl	main{DS}
 	.extern	.__cxa_allocate_exception{PR}
-	.extern	.__cxa_throw{PR}        
+	.extern	.__cxa_throw{PR}
 	.extern	.wrap__xlc_exception_handle{PR}
 	.extern	.__xlc_catch_matchv2{PR}
-	.extern	.__cxa_begin_catch{PR}  
-	.extern	.printf{PR}             
-	.extern	.__cxa_end_catch{PR}    
-	.extern	._Unwind_Resume{PR}     
-	.extern	.__cxa_rethrow{PR}      
-	.extern	._ZSt9terminatev{PR}    
+	.extern	.__cxa_begin_catch{PR}
+	.extern	.printf{PR}
+	.extern	.__cxa_end_catch{PR}
+	.extern	._Unwind_Resume{PR}
+	.extern	.__cxa_rethrow{PR}
+	.extern	._ZSt9terminatev{PR}
 
 
 # .text section
@@ -158,7 +158,7 @@
 	.machine	"ppc64"
 
 
-	.csect	H.4.NO_SYMBOL{PR}, 7    
+	.csect	H.4.NO_SYMBOL{PR}, 7
 ._Z4barfv:                              # 0x0000000000000000 (H.4.NO_SYMBOL)
 	mfspr      r0,LR
 	stdu       SP,-128(SP)
@@ -414,26 +414,26 @@ H.14..__3:                              # 0x0000000000000240 (H.4.NO_SYMBOL+0x02
 # .data section
 
 
-	.toc	                        # 0x0000000000000280 
+	.toc	                        # 0x0000000000000280
 T.40._Z4barfv:
 	.tc	H.40._Z4barfv{TC},_Z4barfv{DS}
 T.44._ZTIi:
 	.tc	H.44._ZTIi{TC},_ZTIi{UA}
 T.48.main:
-	.tc	H.48.main{TC},main{DS}  
+	.tc	H.48.main{TC},main{DS}
 T.24.__STATIC:
 	.tc	H.24.__STATIC{TC},E.22.__STATIC{RW}
 T.18.NO_SYMBOL:
 	.tc	H.18.NO_SYMBOL{TC},H.20.NO_SYMBOL{RO}
 T.28.__4:
-	.tc	H.28.__4{TC},__4{DS}    
+	.tc	H.28.__4{TC},__4{DS}
 T.32.__8:
-	.tc	H.32.__8{TC},__8{DS}    
+	.tc	H.32.__8{TC},__8{DS}
 T.36.__3:
-	.tc	H.36.__3{TC},__3{DS}    
+	.tc	H.36.__3{TC},__3{DS}
 
 
-	.csect	_Z4barfv{DS}, 3         
+	.csect	_Z4barfv{DS}, 3
 	.llong	._Z4barfv               # "\0\0\0\0\0\0\0\0"
 	.llong	TOC{TC0}                # "\0\0\0\0\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
@@ -441,7 +441,7 @@ T.36.__3:
 # End	csect	_Z4barfv{DS}
 
 
-	.csect	main{DS}, 3             
+	.csect	main{DS}, 3
 	.llong	.main                   # "\0\0\0\0\0\0\0\200"
 	.llong	TOC{TC0}                # "\0\0\0\0\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
@@ -449,7 +449,7 @@ T.36.__3:
 # End	csect	main{DS}
 
 
-	.csect	__4{DS}, 3              
+	.csect	__4{DS}, 3
 	.llong	H.10..__4               # "\0\0\0\0\0\0\002\0"
 	.llong	TOC{TC0}                # "\0\0\0\0\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
@@ -457,7 +457,7 @@ T.36.__3:
 # End	csect	__4{DS}
 
 
-	.csect	__8{DS}, 3              
+	.csect	__8{DS}, 3
 	.llong	H.12..__8               # "\0\0\0\0\0\0\002 "
 	.llong	TOC{TC0}                # "\0\0\0\0\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
@@ -465,7 +465,7 @@ T.36.__3:
 # End	csect	__8{DS}
 
 
-	.csect	__3{DS}, 3              
+	.csect	__3{DS}, 3
 	.llong	H.14..__3               # "\0\0\0\0\0\0\002@"
 	.llong	TOC{TC0}                # "\0\0\0\0\0\0\002\200"
 	.long	0x00000000              # "\0\0\0\0"
@@ -473,7 +473,7 @@ T.36.__3:
 # End	csect	__3{DS}
 
 
-	.csect	E.22.__STATIC{RW}, 3    
+	.csect	E.22.__STATIC{RW}, 3
 	.long	0x1cedbeef              # "\034\355\276\357"
 	.long	0x00000003              # "\0\0\0\003"
 	.long	0x00000000              # "\0\0\0\0"
@@ -506,7 +506,7 @@ T.36.__3:
 # End	csect	E.22.__STATIC{RW}
 
 
-	.csect	H.20.NO_SYMBOL{RO}, 3   
+	.csect	H.20.NO_SYMBOL{RO}, 3
 	.long	0x63617567              # "caug"
 	.long	0x68742069              # "ht i"
 	.long	0x6e740a00              # "nt\n\0"
@@ -610,11 +610,11 @@ T.36.__3:
 	.rename	H.12.NO_SYMBOL{RO},""
 	.rename	H.16.wrap__xlc_exception_handle{TC},"wrap__xlc_exception_handle"
 
-	.lglobl	H.4.NO_SYMBOL{PR}       
+	.lglobl	H.4.NO_SYMBOL{PR}
 	.globl	.wrap__xlc_exception_handle
-	.lglobl	H.12.NO_SYMBOL{RO}      
+	.lglobl	H.12.NO_SYMBOL{RO}
 	.globl	wrap__xlc_exception_handle{DS}
-	.extern	.printf{PR}             
+	.extern	.printf{PR}
 	.extern	.__xlc_exception_handle{PR}
 
 
@@ -623,7 +623,7 @@ T.36.__3:
 	.machine	"ppc64"
 
 
-	.csect	H.4.NO_SYMBOL{PR}, 7    
+	.csect	H.4.NO_SYMBOL{PR}, 7
 .wrap__xlc_exception_handle:            # 0x0000000000000000 (H.4.NO_SYMBOL)
 	mfspr      r0,LR
 	std        r31,-8(SP)
@@ -670,7 +670,7 @@ T.36.__3:
 # .data section
 
 
-	.toc	                        # 0x0000000000000080 
+	.toc	                        # 0x0000000000000080
 T.16.wrap__xlc_exception_handle:
 	.tc	H.16.wrap__xlc_exception_handle{TC},wrap__xlc_exception_handle{DS}
 T.10.NO_SYMBOL:
@@ -685,7 +685,7 @@ T.10.NO_SYMBOL:
 # End	csect	wrap__xlc_exception_handle{DS}
 
 
-	.csect	H.12.NO_SYMBOL{RO}, 3   
+	.csect	H.12.NO_SYMBOL{RO}, 3
 	.long	0x77726170              # "wrap"
 	.long	0x5f5f786c              # "__xl"
 	.long	0x635f6578              # "c_ex"

diff  --git a/libunwind/src/DwarfInstructions.hpp b/libunwind/src/DwarfInstructions.hpp
index 9962c2ffa0ca34f..bd9ece60ee5881a 100644
--- a/libunwind/src/DwarfInstructions.hpp
+++ b/libunwind/src/DwarfInstructions.hpp
@@ -68,7 +68,7 @@ class DwarfInstructions {
       return (pint_t)((sint_t)registers.getRegister((int)prolog.cfaRegister) +
              prolog.cfaRegisterOffset);
     if (prolog.cfaExpression != 0)
-      return evaluateExpression((pint_t)prolog.cfaExpression, addressSpace, 
+      return evaluateExpression((pint_t)prolog.cfaExpression, addressSpace,
                                 registers, 0);
     assert(0 && "getCFA(): unknown location");
     __builtin_unreachable();

diff  --git a/libunwind/src/UnwindRegistersSave.S b/libunwind/src/UnwindRegistersSave.S
index dc0f7da31ccf802..19a0e87d683cee6 100644
--- a/libunwind/src/UnwindRegistersSave.S
+++ b/libunwind/src/UnwindRegistersSave.S
@@ -780,7 +780,7 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
 @
 @ On entry:
 @  thread_state pointer is in r0
-@ 
+@
 @ Per EHABI #4.7 this only saves the core integer registers.
 @ EHABI #7.4.5 notes that in general all VRS registers should be restored
 @ however this is very hard to do for VFP registers because it is unknown


        


More information about the cfe-commits mailing list