[PATCH] D83046: [LiveDebugValues] 1/4 Install an implementation-picking LiveDebugValues pass

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 08:38:01 PDT 2020


jmorse marked an inline comment as done.
jmorse added inline comments.


================
Comment at: llvm/lib/CodeGen/CMakeLists.txt:184
 
+  LiveDebugValues/LiveDebugValues.cpp
   LiveDebugValues/VarLocBasedImpl.cpp
----------------
djtodoro wrote:
> We can add new subdirectory here as:
> `add_subdirectory(LiveDebugValues)`
> 
> and then, add another `CMakeLists.txt` with in `LiveDebugValues/` and play with all of this within that `CMake` file locally? wdyt?
I've shied away from this due to being a CMake novice, but my understanding is we'd need to either:
 * Append the sources to the "LLVMCodeGen" library sources list from inside that new CMakeLists.txt, or
 * Define a new "llvm_component_library" for LiveDebugValues, which seems like overkill.

Referring to the source files from this CMakeList avoided me having to think about that; I can implement the first item if it's preferable for each directory to have a CMakeLists.txt.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83046





More information about the llvm-commits mailing list