]> granicus.if.org Git - llvm/commitdiff
[X86] Correct byte offsets and data types in a comment. NFC.
authorMartin Storsjo <martin@martin.st>
Wed, 27 Sep 2017 06:08:04 +0000 (06:08 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 27 Sep 2017 06:08:04 +0000 (06:08 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314275 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/sjlj-eh.ll

index 4d2e4e821f42bc83a4cbbbd8f975d09b9230f285..79bd450dcfbbd53f929442600506bbda19225fe7 100644 (file)
@@ -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)
 ;     };