Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions llvm/tools/llvm-profdata/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ add_llvm_tool(llvm-profdata

DEPENDS
intrinsics_gen
GENERATE_DRIVER
)

if(NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
target_link_libraries(llvm-profdata PRIVATE LLVMDebuginfod)
endif()
target_link_libraries(llvm-profdata PRIVATE LLVMDebuginfod)
5 changes: 1 addition & 4 deletions llvm/tools/llvm-profdata/llvm-profdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3464,10 +3464,7 @@ static int order_main() {
return 0;
}

int llvm_profdata_main(int argc, char **argvNonConst,
const llvm::ToolContext &) {
const char **argv = const_cast<const char **>(argvNonConst);

int main(int argc, const char *argv[]) {
StringRef ProgName(sys::path::filename(argv[0]));

if (argc < 2) {
Expand Down