[PATCH 01/12] record: Fix format

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 16 10:50:21 UTC 2020


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) {
-- 
2.16.4



More information about the devel mailing list