forked from nils.hoelscher/RTSA-lab01-CacheAnalysis
Gitignore, debugscript, and some linting.
This commit is contained in:
parent
69d9b56047
commit
7889bb22e8
|
@ -0,0 +1,2 @@
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
InheritParentConfig: true
|
|
@ -0,0 +1,9 @@
|
||||||
|
build
|
||||||
|
*.out
|
||||||
|
*.dot
|
||||||
|
*.png
|
||||||
|
*.txt
|
||||||
|
.gitconfig
|
||||||
|
.vscode-server
|
||||||
|
.gnupg
|
||||||
|
.bash_history
|
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
// 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": [
|
||||||
|
{
|
||||||
|
"name": "DBG fft1",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue