[PATCH] D76115: Add debug support for set types

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 16:14:56 PDT 2021


aprantl added a comment.

I was going to commit this, but I'm getting

  FAIL: LLVM :: DebugInfo/Generic/set.ll (20019 of 43049)
  ******************** TEST 'LLVM :: DebugInfo/Generic/set.ll' FAILED ********************
  Script:
  --
  : 'RUN: at line 3';   /Volumes/Data/llvm-project/_build.ninja.release/bin/llc -debugger-tune=gdb -dwarf-version=4 -filetype=obj -o /Volumes/Data/llvm-project/_build.ninja.release/test/DebugInfo/Generic/Output/set.ll.tmp.o < /Volumes/Data/llvm-project/llvm/test/DebugInfo/Generic/set.ll
  : 'RUN: at line 4';   /Volumes/Data/llvm-project/_build.ninja.release/bin/llvm-dwarfdump -debug-info /Volumes/Data/llvm-project/_build.ninja.release/test/DebugInfo/Generic/Output/set.ll.tmp.o | /Volumes/Data/llvm-project/_build.ninja.release/bin/FileCheck /Volumes/Data/llvm-project/llvm/test/DebugInfo/Generic/set.ll --check-prefix=CHECK
  --
  Exit Code: 134
  
  Command Output (stderr):
  --
  Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly byref(i64) byval(i64) preallocated(i64) sret(i64) align 1 dereferenceable(1) dereferenceable_or_null(1)
  i8* (i64)* @Main_M3
  LLVM ERROR: Broken module found, compilation aborted!
  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
  Stack dump:
  0.	Program arguments: /Volumes/Data/llvm-project/_build.ninja.release/bin/llc -debugger-tune=gdb -dwarf-version=4 -filetype=obj -o /Volumes/Data/llvm-project/_build.ninja.release/test/DebugInfo/Generic/Output/set.ll.tmp.o
  Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
  0  llc                      0x00000001046e5d97 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
  1  llc                      0x00000001046e4ef5 llvm::sys::RunSignalHandlers() + 85
  2  llc                      0x00000001046e63d0 SignalHandler(int) + 272
  3  libsystem_platform.dylib 0x00007fff203f3d7d _sigtramp + 29
  4  libsystem_platform.dylib 000000000000000000 _sigtramp + 18446603339975148192
  5  libsystem_c.dylib        0x00007fff20303411 abort + 120
  6  llc                      0x0000000104635c05 llvm::report_fatal_error(llvm::Twine const&, bool) + 453
  7  llc                      0x0000000104635a3b llvm::report_fatal_error(char const*, bool) + 43
  8  llc                      0x0000000103ea388f llvm::UpgradeDebugInfo(llvm::Module&) + 207
  9  llc                      0x000000010399b6ba llvm::LLParser::validateEndOfModule(bool) + 2570
  10 llc                      0x000000010399a894 llvm::LLParser::Run(bool, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (llvm::StringRef)>) + 308
  11 llc                      0x00000001039d8f62 parseAssemblyInto(llvm::MemoryBufferRef, llvm::Module*, llvm::ModuleSummaryIndex*, llvm::SMDiagnostic&, llvm::SlotMapping*, bool, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (llvm::StringRef)>) + 946
  12 llc                      0x00000001039d9104 llvm::parseAssembly(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::SlotMapping*, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (llvm::StringRef)>) + 148
  13 llc                      0x000000010401f6b5 llvm::parseIR(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (llvm::StringRef)>) + 709
  14 llc                      0x000000010401f9ce llvm::parseIRFile(llvm::StringRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::function_ref<llvm::Optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (llvm::StringRef)>) + 398
  15 llc                      0x00000001025526e1 main + 3761
  16 libdyld.dylib            0x00007fff203c9f3d start + 1
  /Volumes/Data/llvm-project/_build.ninja.release/test/DebugInfo/Generic/Output/set.ll.script: line 2: 18343 Abort trap: 6           /Volumes/Data/llvm-project/_build.ninja.release/bin/llc -debugger-tune=gdb -dwarf-version=4 -filetype=obj -o /Volumes/Data/llvm-project/_build.ninja.release/test/DebugInfo/Generic/Output/set.ll.tmp.o < /Volumes/Data/llvm-project/llvm/test/DebugInfo/Generic/set.ll


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76115/new/

https://reviews.llvm.org/D76115



More information about the llvm-commits mailing list