Fix gcc/printf/ISO C++ warning
authorEdwin Vane <edwin.vane@intel.com>
Mon, 28 Jan 2013 19:34:42 +0000 (19:34 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Mon, 28 Jan 2013 19:34:42 +0000 (19:34 +0000)
commit3c1c042a64e0d0d01c0e2817aa1f0f5c9c726a80
treeadba047287139d2ce2e28c473480204cd077d3b1
parent5ff776bfde2dd5d993e51f8f78904ce331b5528c
Fix gcc/printf/ISO C++ warning

Remove the use of the 't' length modifier to avoid a gcc warning. Based
on usage, 32 bits of precision is good enough for printing a stack
offset for a stack trace.

't' length modifier isn't in C++03 but it *is* in C++11. Added a FIXME
to reintroduce once LLVM makes the switch to C++11.

Reviewer: gribozavr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Signals.inc