[rtems-tools commit] record: Fix format

Sebastian Huber sebh at rtems.org
Thu Mar 19 06:38:42 UTC 2020


Module:    rtems-tools
Branch:    master
Commit:    14f0957b00d104a538b839f6e41e04cf670a938c
Changeset: http://git.rtems.org/rtems-tools/commit/?id=14f0957b00d104a538b839f6e41e04cf670a938c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat Mar 14 20:36:41 2020 +0100

record: Fix format

Update #3904.

---

 trace/record/record-main-lttng.cc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/trace/record/record-main-lttng.cc b/trace/record/record-main-lttng.cc
index c84f40b..a28de8e 100644
--- a/trace/record/record-main-lttng.cc
+++ b/trace/record/record-main-lttng.cc
@@ -323,11 +323,12 @@ LTTNGClient::AddressToLineMap::iterator LTTNGClient::ResolveAddress(
     const ClientItem& item) {
 #ifdef HAVE_LLVM_DEBUGINFO_SYMBOLIZE_SYMBOLIZE_H
   if (resolve_address_) {
-    auto res_or_err = symbolizer_.symbolizeCode(elf_file_,
+    auto res_or_err = symbolizer_.symbolizeCode(
+        elf_file_,
 #if LLVM_VERSION_MAJOR >= 9
-      {item.data, llvm::object::SectionedAddress::UndefSection});
+        {item.data, llvm::object::SectionedAddress::UndefSection});
 #else
-      item.data);
+        item.data);
 #endif
 
     if (res_or_err) {



More information about the vc mailing list