Docs: update va_arg example with valid x86_64 va_list type.
authorTim Northover <tnorthover@apple.com>
Sun, 2 Nov 2014 01:21:51 +0000 (01:21 +0000)
committerTim Northover <tnorthover@apple.com>
Sun, 2 Nov 2014 01:21:51 +0000 (01:21 +0000)
commit79e72dd73c2ab13c37c7f21978f21a5479b2a6fa
treeb1394a36698e30ad6766260d2bd89cca41d34333
parentd998d1cc56bb16ce0f6af52db3fc8aaae2c7ac9c
Docs: update va_arg example with valid x86_64 va_list type.

The given example was overflowing its alloca and segfaulting if actually run on
x86, so it's a good idea to provide something that works there too.

Patch by Ramkumar Ramachandra.

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