diff --git a/llvm/test/DebugInfo/debuglineinfo-path.ll b/llvm/test/DebugInfo/debuglineinfo-path.ll index 8cd7f7bfc1c3..637310ba83cf 100644 --- a/llvm/test/DebugInfo/debuglineinfo-path.ll +++ b/llvm/test/DebugInfo/debuglineinfo-path.ll @@ -1,6 +1,6 @@ ; Make sure that absolute source dir is detected correctly regardless of the platform. ; REQUIRES: object-emission -; RUN: %llc_dwarf -filetype=obj -o %t < %s +; RUN: %llc_dwarf -O0 -filetype=obj -o %t < %s ; RUN: llvm-nm -radix=o %t | grep posix_absolute_func > %t.posix_absolute_func ; RUN: llvm-nm -radix=o %t | grep posix_relative_func > %t.posix_relative_func ; RUN: llvm-nm -radix=o %t | grep win_func > %t.win_func