Commit Graph

2 Commits

Author SHA1 Message Date
Owen c4cd7aeca6 Do not use backtick as opening single quote
Replace it with '. For example, This changes an error message from
failed to load class `java.nio.file.Path'
to
failed to load class 'java.nio.file.Path'

The reason is that the convention of using ` for opening single
quotes looks odd in most modern fonts. For more discussion please
read:

https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2019-07-29 10:28:44 +01:00
Kareem Khazem 236c2573e5
Mangle static functions using basename, not path
Previously, if we compiled a file called

    foo/bar/baz/main.c

containing a static function called `qux`, that function's name would be
mangled to

    __CPROVER_file_local_foo_bar_baz_main_c_qux

This commit changes the behaviour so that only the basename is used to
mangle the function name:

    __CPROVER_file_local_main_c_qux

This is so that users writing CBMC proofs for file-local functions don't
have to worry about where the goto-binary was compiled.
2019-04-29 12:23:19 +01:00