[llvm] r314275 - [X86] Correct byte offsets and data types in a comment. NFC.

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 23:08:04 PDT 2017


Author: mstorsjo
Date: Tue Sep 26 23:08:04 2017
New Revision: 314275

URL: http://llvm.org/viewvc/llvm-project?rev=314275&view=rev
Log:
[X86] Correct byte offsets and data types in a comment. NFC.

This matches the types of the struct members defined in
lib/CodeGen/SjLjEHPrepare.cpp, and the definition of this struct in libgcc.

Differential Revision: https://reviews.llvm.org/D38248

Modified:
    llvm/trunk/test/CodeGen/X86/sjlj-eh.ll

Modified: llvm/trunk/test/CodeGen/X86/sjlj-eh.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/sjlj-eh.ll?rev=314275&r1=314274&r2=314275&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/sjlj-eh.ll (original)
+++ llvm/trunk/test/CodeGen/X86/sjlj-eh.ll Tue Sep 26 23:08:04 2017
@@ -24,11 +24,11 @@ try.cont:
 
 ;     struct _Unwind_FunctionContext {
 ; +00   struct _Unwind_FunctionContext *prev;   -64(%ebp)
-; +04   uintptr_t __callsite;                   -60(%ebp)
-; +08   uintptr_t __buffer[4];                  -44(%ebp)
-; +28   __personality_routine __personality;    -40(%ebp)
-; +32   uintptr_t __lsda;                       -36(%ebp)
-; +36   void *__jbuf[];                         -32(%ebp)
+; +04   uint32_t __callsite;                    -60(%ebp)
+; +08   uint32_t __buffer[4];                   -56(%ebp)
+; +24   __personality_routine __personality;    -40(%ebp)
+; +28   uintptr_t __lsda;                       -36(%ebp)
+; +32   void *__jbuf[];                         -32(%ebp)
 ;     };
 
 




More information about the llvm-commits mailing list