[XRay] Use default-constructed struct as argument to Append(...)
authorDean Michael Berris <dberris@google.com>
Thu, 6 Dec 2018 01:56:27 +0000 (01:56 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 6 Dec 2018 01:56:27 +0000 (01:56 +0000)
commit400afa02304370070ca3de46675cbc6e1ba98fd8
treed779daca87421e6b723a80e5807926e68f4fc65b
parentd041212c0784656f4ae101044cf0d1b28ac008b3
[XRay] Use default-constructed struct as argument to Append(...)

This is a follow-up to D54989.

Work-around gcc-4.8 failing to handle brace-init for structs to imply
default-construction of an aggregate, and treats it as an initialiser
list instead.

llvm-svn: 348445
compiler-rt/lib/xray/xray_profile_collector.cc