snu-sf-class / swpp202401

Principles and Practices of Software Development Main Repository
14 stars 4 forks source link

[Assignment 5] Question regarding enabled LLVM components in build script #124

Open cr0sh opened 5 months ago

cr0sh commented 5 months ago

While working on assn5, I've found libLLVMTransformUtils is useful for replacing instructions based on domination but its usage is not included in the run-propinteq.sh, which incurs a linker failure.

If it's not an intended behavior, can I add the library to the linker argument, namely --libs transformutils or --libs all?

strikef commented 5 months ago

For the assignments, we will limit the use of LLVM component libraries to those that does not cause linker error when using the runner script we provided. Therefore, if that function requires other components to be linked, you cannot use them for the assignment.

Although we're aware that other LLVM components include a lot of useful helper functions, and recommend using them as much as possible in the project, we won't allow them for the assignments.