summaryrefslogtreecommitdiffstats
path: root/trace/record/record-main-lttng.cc
diff options
context:
space:
mode:
Diffstat (limited to 'trace/record/record-main-lttng.cc')
-rw-r--r--trace/record/record-main-lttng.cc7
1 files 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) {