Skip to content

Instantly share code, notes, and snippets.

@Logrus
Created November 15, 2019 23:58
Show Gist options
  • Save Logrus/3abfe270799f82de6f1e5a7db55347af to your computer and use it in GitHub Desktop.
Save Logrus/3abfe270799f82de6f1e5a7db55347af to your computer and use it in GitHub Desktop.
showasm() {
$1++ $2 -O$3 -std=c++2a -S -masm=intel -o _temp_name.s && cat _temp_name.s | c++filt | grep -vE '\s+\.' > _temp_name_.s && rm _temp_name.s && vim _temp_name_.s
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment