-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
Version: using master at commit 88ec08e
Found this while trying to build kernel with compiledb.
> cat a.log
gcc -DKBUILD_MODNAME='"swap"' ./swap.c
> compiledb --parse a.log
## Processing build commands from a.log
## Writing compilation database with 1 entries to compile_commands.json
## Done.
> cat compile_commands.json
[
{
"directory": "/tmp",
"arguments": [
"gcc",
"-DKBUILD_MODNAME=swap",
"./swap.c"
],
"file": "./swap.c"
}
]
The single quotes in the argument disappear.
phil-blain, pwittich and darrinsmart
Metadata
Metadata
Assignees
Labels
No labels