[Lldb-commits] [llvm] [lldb] DEBUGINFOD based DWP acquisition for LLDB (PR #70996)

2023-12-10 Thread Michał Górny via lldb-commits

mgorny wrote:

I'm sorry for not getting back to you earlier. The log relevant to building 
LLVM itself is this (22M uncompressed):

[sys-devel:llvm-18.0.0_pre20231206:20231206-072428.log.gz](https://github.com/llvm/llvm-project/files/13627566/sys-devel.llvm-18.0.0_pre20231206.20231206-072428.log.gz)

I think the most relevant part is:

```
-DLLVM_DISTRIBUTION_COMPONENTS="LLVM;LTO;Remarks;llvm-config;cmake-exports;llvm-headers;LLVMDemangle;LLVMSupport;LLVMTableGen;llvm_gtest;llvm_gtest_main;LLVMTestingAnnotations;LLVMTestingSupport;llvm-tblgen;FileCheck;llvm-PerfectShuffle;count;not;yaml-bench;UnicodeNameMappingGenerator;bugpoint;dsymutil;llc;lli;lli-child-target;llvm-addr2line;llvm-ar;llvm-as;llvm-bcanalyzer;llvm-bitcode-strip;llvm-c-test;llvm-cat;llvm-cfi-verify;llvm-config;llvm-cov;llvm-cvtres;llvm-cxxdump;llvm-cxxfilt;llvm-cxxmap;llvm-debuginfo-analyzer;llvm-debuginfod-find;llvm-diff;llvm-dis;llvm-dlltool;llvm-dwarfdump;llvm-dwarfutil;llvm-dwp;llvm-exegesis;llvm-extract;llvm-gsymutil;llvm-ifs;llvm-install-name-tool;llvm-jitlink;llvm-jitlink-executor;llvm-lib;llvm-libtool-darwin;llvm-link;llvm-lipo;llvm-lto;llvm-lto2;llvm-mc;llvm-mca;llvm-ml;llvm-modextract;llvm-mt;llvm-nm;llvm-objcopy;llvm-objdump;llvm-opt-report;llvm-otool;llvm-pdbutil;llvm-profdata;llvm-profgen;llvm-ranlib;llvm-rc;llvm-readelf;llvm-readobj;llvm-readtapi;llvm-reduce;llvm-remarkutil;llvm-rtdyld;llvm-sim;llvm-size;llvm-split;llvm-stress;llvm-strings;llvm-strip;llvm-symbolizer;llvm-tli-checker;llvm-undname;llvm-windres;llvm-xray;obj2yaml;opt;sancov;sanstats;split-file;verify-uselistorder;yaml2obj;opt-viewer;docs-dsymutil-man;docs-llvm-dwarfdump-man;docs-llvm-man;docs-llvm-html;LLVMgold;llvm-debuginfod"
```

We don't install `LLVMDebuginfod.a` at all right now. I suppose I could try 
doing that but last we tried to do something similar, all hell broke loose 
because of its dependency on other libraries from LLVM. It's a mess, I'm afraid.

At this point, I think the only reasonable solution here is to include 
`LLVMDebuginfod` in `libLLVM`.

https://github.com/llvm/llvm-project/pull/70996
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [lldb] [llvm] DEBUGINFOD based DWP acquisition for LLDB (PR #70996)

2023-12-10 Thread Michał Górny via lldb-commits

mgorny wrote:

I've also confirmed that installing `LLVMDebuginfod` target won't help since it 
references other internal targets that are created at build-time and not 
included as part of the installed CMake configuration:

```
CMake Error at /usr/lib/llvm/18/lib64/cmake/llvm/LLVMExports.cmake:90 
(set_target_properties):
  The link interface of target "LLVMDebuginfod" contains:

httplib::httplib

  but the target was not found.  Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/llvm/18/lib64/cmake/llvm/LLVMConfig.cmake:355 (include)
  cmake/modules/LLDBStandalone.cmake:9 (find_package)
  CMakeLists.txt:34 (include)
```

I suspect that even if we hadn't used the dylib at all and installed all static 
libraries, it would be impossible to build LLDB against this install of LLVM as 
it wouldn't know about `httplib::httplib` — that is, unless LLVM was built 
without httplib support.

https://github.com/llvm/llvm-project/pull/70996
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


[Lldb-commits] [mlir] [flang] [lldb] [openmp] [clang] [libcxxabi] [compiler-rt] [llvm] [libcxx] [clang-tools-extra] [MachineCopyPropagation] When the source of PreviousCopy is undef, we cannot replace

2023-12-10 Thread via lldb-commits

DianQK wrote:

@nikic  Would you approve of this? Or do we need to add other codegen 
participants to review?
@davemgreen Any other comments?

https://github.com/llvm/llvm-project/pull/74682
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits