2022-04-19 11:09:17 +02:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2022-04-29 14:31:08 +02:00
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "LLDB cnt",
|
|
|
|
"program": "/usr/bin/opt",
|
|
|
|
"args": [
|
|
|
|
"-load-pass-plugin",
|
|
|
|
"${workspaceFolder}/build/libCacheAnalysisPass.so",
|
|
|
|
"-passes=lru-misses",
|
|
|
|
"${workspaceFolder}/test/cnt.ll",
|
|
|
|
"-o",
|
|
|
|
"/dev/null"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
2022-04-19 11:09:17 +02:00
|
|
|
{
|
2022-04-20 09:55:54 +02:00
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "LLDB fft1",
|
|
|
|
"program": "/usr/bin/opt",
|
|
|
|
"args": [
|
|
|
|
"-load-pass-plugin",
|
|
|
|
"${workspaceFolder}/build/libCacheAnalysisPass.so",
|
|
|
|
"-passes=lru-misses",
|
|
|
|
"${workspaceFolder}/test/fft1.ll",
|
|
|
|
"-o",
|
|
|
|
"/dev/null"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gdb fft1",
|
2022-04-20 14:03:44 +02:00
|
|
|
"type": "cppdbg",//Only Usable with C/C++ extension installed from Microsoft.
|
2022-04-19 11:09:17 +02:00
|
|
|
"request": "launch",
|
|
|
|
"program": "/usr/bin/opt",
|
|
|
|
"args": [
|
|
|
|
"-load-pass-plugin",
|
|
|
|
"${fileDirname}/../build/libCacheAnalysisPass.so",
|
|
|
|
"-passes='lru-misses'",
|
|
|
|
"${fileDirname}/../test/fft1.ll",
|
|
|
|
"-o",
|
|
|
|
"/dev/null"
|
|
|
|
],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|