/home/pegasus/Documents/LLVM_Rust/CCR-master/llvm/lib/MC/MCAssembler.cpp:1223:41: error: conversion from ‘llvm::StringRef’ to non-scalar type ‘std::__cxx11::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
std::string secName = ELFSec.getName();
~~~~~~~~~~~~~~^~
I’m getting the following error.
How to remove it?