]> granicus.if.org Git - llvm/commit
[XRay] fix and clarify comments in the log file decoder
authorMartin Pelikan <martin.pelikan@gmail.com>
Fri, 15 Sep 2017 04:22:16 +0000 (04:22 +0000)
committerMartin Pelikan <martin.pelikan@gmail.com>
Fri, 15 Sep 2017 04:22:16 +0000 (04:22 +0000)
commit4869e6a5b901255042ce58314050cca0d8497ccc
tree188d03f4725aa467d0b2c9df9446185df5529458
parent03855b657fd0296e8663f35d0770994fe3b3e255
[XRay] fix and clarify comments in the log file decoder

Summary:
For readers unfamiliar with the XRay code base, reference the compiler-rt
implementation even though we're not allowed to share any code and explain
our little-endian views more clearly.

For code clarity either get rid of obvious comments or explain their
intentions, fix typos, correct coding style according to LLVM's standards
and manually CSE long expressions to point out it is the same expression.

Reviewers: dberris

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313340 91177308-0d34-0410-b5e6-96231b3b80d8
lib/XRay/Trace.cpp