13abb68a6SAlexander Yermolovich; RUN: rm -rf %t 23abb68a6SAlexander Yermolovich; RUN: mkdir %t 33abb68a6SAlexander Yermolovich; RUN: cd %t 43abb68a6SAlexander Yermolovich; RUN: llvm-mc --split-dwarf-file=main.dwo --triple=x86_64-unknown-linux-gnu \ 53abb68a6SAlexander Yermolovich; RUN: --filetype=obj %p/Inputs/dwarf4-split-dwarf-no-address-main.s -o=main.o 63abb68a6SAlexander Yermolovich; RUN: llvm-mc --split-dwarf-file=helper.dwo --triple=x86_64-unknown-linux-gnu \ 73abb68a6SAlexander Yermolovich; RUN: --filetype=obj %p/Inputs/dwarf4-split-dwarf-no-address-helper.s -o=helper.o 8a26aa79aSRafael Auler; RUN: %clang %cflags -gdwarf-4 -gsplit-dwarf=split main.o helper.o -o main.exe -fno-pic -no-pie 9*6aad62cfSSayhaan Siddiqui; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections --debug-thread-count=4 --cu-processing-batch-size=4 103abb68a6SAlexander Yermolovich; RUN: llvm-dwarfdump --show-form --verbose --debug-info main.exe.bolt | FileCheck -check-prefix=BOLT %s 113abb68a6SAlexander Yermolovich 1211791ae7SSayhaan Siddiqui;; Testing that there are no asserts/crashes when one of the DWARF4 CUs does not modify .debug_addr 133abb68a6SAlexander Yermolovich 143abb68a6SAlexander Yermolovich; BOLT: DW_TAG_compile_unit 153abb68a6SAlexander Yermolovich; BOLT: DW_TAG_compile_unit 16