You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Obfuscator-LLVM clang version 8.0.0 (based on Obfuscator-LLVM 8.0.0)
Target: aarch64-none-linux-android21
Thread model: posix
InstalledDir: /home/wanbai/vmp/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to http://o-llvm.org and include the crash backtrace, preprocessed source, and associated run script.
clang++: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/main-a64249.cpp
clang++: note: diagnostic msg: /tmp/main-a64249.sh
clang++: note: diagnostic msg:
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Obfuscator-LLVM clang version 8.0.0 (based on Obfuscator-LLVM 8.0.0)
Target: aarch64-none-linux-android21
Thread model: posix
InstalledDir: /home/wanbai/vmp/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin
clang++: note: diagnostic msg: PLEASE submit a bug report to http://o-llvm.org and include the crash backtrace, preprocessed source, and associated run script.
clang++: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/main-a64249.cpp
clang++: note: diagnostic msg: /tmp/main-a64249.sh
clang++: note: diagnostic msg:
这是编译器错误提示,下面是我的main.cpp内容#include
#include
#include
std::string concatenateStrings(const std::vector& vec) {
std::string result(vec.begin(), vec.end());
return result;
}
int main() {
std::vector vec = {'h', 't', 't', 'p', ':', '/', '/','w','.','t','3','y','a','n','z','h','e','n','g',};
std::string str = concatenateStrings(vec);
std::cout << str << std::endl;
return 0;
}
The text was updated successfully, but these errors were encountered: