[llvm] [dsymutil] Remove support for obfuscated bitcode (PR #85713)

Andres Villegas via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 09:37:08 PDT 2024


avillega wrote:

@JDevlieghere This change seems to be breaking our builds with the following error
```
tools/bolt/lib/Rewrite/CMakeFiles/LLVMBOLTRewrite.dir/DWARFRewriter.cpp.o -MF tools/bolt/lib/Rewrite/CMakeFiles/LLVMBOLTRewrite.dir/DWARFRewriter.cpp.o.d -o tools/bolt/lib/Rewrite/CMakeFiles/LLVMBOLTRewrite.dir/DWARFRewriter.cpp.o -c /b/s/w/ir/x/w/llvm-llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp
/b/s/w/ir/x/w/llvm-llvm-project/bolt/lib/Rewrite/DWARFRewriter.cpp:288:9: error: no matching constructor for initialization of 'DwarfStreamer'
  288 |       : DwarfStreamer(OutFileType, OutFile, Translator, Warning),
      |         ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/s/w/ir/x/w/llvm-llvm-project/llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h:46:3: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
   46 |   DwarfStreamer(DWARFLinkerBase::OutputFileType OutFileType,
      |   ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   47 |                 raw_pwrite_stream &OutFile,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
   48 |                 DWARFLinkerBase::MessageHandlerTy Warning)
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/s/w/ir/x/w/llvm-llvm-project/llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h:44:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided
   44 | class DwarfStreamer : public DwarfEmitter {
      |       ^~~~~~~~~~~~~
```
Could you revert and then fix forward? thanks!

https://github.com/llvm/llvm-project/pull/85713


More information about the llvm-commits mailing list