46 Commits

Author SHA1 Message Date
Axel Naumann
1f1509c0e0 Show parsed (with open file handle?) versus deserialized. 2014-10-20 14:23:03 +02:00
Vassil Vassilev
0aa2a31fa0 llvm::OwningPtr is now std::unique_ptr. 2014-08-14 14:56:44 +02:00
Vassil Vassilev
61868d59d9 llvm::errc -> std::errc. 2014-08-14 14:56:38 +02:00
Vassil Vassilev
1409463cd9 llvm::errc::success got changed to llvm::errc::no_such_file_or_directory. 2014-08-14 14:56:33 +02:00
Philippe Canal
576ca3ca96 Remove trailing spaces 2014-08-13 16:08:36 +02:00
Vassil Vassilev
68e01b936b Implement FileManager uncaching. 2014-03-19 14:52:21 +01:00
Vassil Vassilev
f7425b323d Fix init order. 2014-03-03 15:27:05 +01:00
Vassil Vassilev
71b05e8321 Use the new CodeGen debug printouts in .storeState 2014-02-27 15:57:11 +01:00
Vassil Vassilev
e947694c9b When we have no module don't try to dump it. 2014-02-12 11:01:00 +01:00
Vassil Vassilev
f89238364e The dump comes from a map, i.e it is unordered which is a killer for diff
Alphabetically sort the macro dumps and them print them out and compare them.
2014-02-10 11:20:56 +01:00
Vassil Vassilev
7763150743 Keep the files diff files until the end of the session 2014-02-06 14:50:58 +01:00
Vassil Vassilev
6a73a2bf66 Prepend cling prefix, which makes the file deletion easier. 2014-02-06 14:50:57 +01:00
Vassil Vassilev
3a13198242 Blanks. 2014-02-06 14:50:57 +01:00
Vassil Vassilev
0944f060ec In -fsyntax-only mode we don't have llvm::Module. 2014-02-06 14:50:56 +01:00
Axel Naumann
44481ace1e Fix license; remove $Id$ version. 2014-01-07 11:14:04 +01:00
Vassil Vassilev
a2d43eb499 Build all lookup tables on printing, even if they were unused. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
2f196c4ac4 Print out the diff command on found differences. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
50a1acade4 Make members local, so that they will close and flush earlier. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
ca3fbf2d8e Add --text to diff not only text files and treat all files as text. 2013-12-06 12:03:32 +01:00
Vassil Vassilev
46561830a0 Print all macros instead one by one. 2013-12-06 12:03:32 +01:00
Bertrand Bellenot
96ed0c5f54 Implement several missing functions (for Windows) in DynamicLibraryManager and fix a couple of compilation errors on Windows 2013-12-04 11:03:08 +01:00
Bertrand Bellenot
90b6fa02dd Revert commit f3f6ca0fa133e2a09ec38af455624af6a5c9521d (changes will be made in root instead) 2013-12-04 10:56:24 +01:00
Bertrand Bellenot
f3f6ca0fa1 Implement several missing functions (for Windows) in DynamicLibraryManager and fix a couple of compilation errors on Windows 2013-11-29 11:04:07 +01:00
Vassil Vassilev
d00d9c01c1 Silence an init order warning. 2013-11-25 16:49:56 +01:00
CristinaCristescu
d6e2f85d1c Fix and improve macro error recovery. 2013-11-25 13:56:02 +01:00
CristinaCristescu
46f07198b0 Add comments and fix trailing spaces. 2013-11-25 13:56:01 +01:00
CristinaCristescu
ab014ac72b Print macro to ostream instead of llvm::errs(). 2013-11-25 13:56:01 +01:00
CristinaCristescu
85b4232729 Revert macro def for error recovery. 2013-11-25 13:56:01 +01:00
CristinaCristescu
8d88a849be Print the macro in .compareState. 2013-11-25 13:56:01 +01:00
CristinaCristescu
0490caaa99 Macro recovery 2013-11-25 13:56:00 +01:00
Vassil Vassilev
d70c1702dc Ignore the noise coming from the lazily-created builtins. 2013-11-14 15:24:03 +01:00
Vassil Vassilev
31534f1f79 Add prefix making rm cling* easier. 2013-11-14 15:24:03 +01:00
Vassil Vassilev
3f7fcc82ad Dump the lookup tables, too. 2013-11-14 15:24:03 +01:00
Vassil Vassilev
b600182114 Typo. 2013-11-14 15:24:03 +01:00
Vassil Vassilev
5209ba0d7f Add future wanna-track property. 2013-10-29 20:19:25 +01:00
Vassil Vassilev
2fe6eb0a6c From Cristina and me: Fix the SubSequentDecls.C
The test #includes a header file which is expected to be reverted.
.storeState and .compareState report that header file is leftover in clang's state.
This is intentionally done, because we cannot free the FileEntry pointing to that
file, because it is referenced all over the Source- and File-Managers. Instead we
clean up the cache of the file so that whoever does a request for that file entry
it will be reread from disk.

Semantically speaking this side effect that store/compare state found must be skipped.
2013-10-16 16:37:58 +02:00
Vassil Vassilev
082f3feab4 Dump the llvm::Module too. 2013-10-14 09:11:40 +02:00
Vassil Vassilev
45e42d1156 Add timestamp to the created file. For now just HH:MM:SS. 2013-10-14 09:11:40 +02:00
Vassil Vassilev
a9b71bb973 We should append the outfile name to the path. 2013-10-14 09:11:38 +02:00
Axel Naumann
2e451da58e Fix is_directory() 2013-09-26 17:54:20 +02:00
Axel Naumann
17ffb2bbb4 No more Path. 2013-09-26 17:54:19 +02:00
Vassil Vassilev
0421df1d22 Cleanup the temporary files. 2013-09-24 12:07:04 +02:00
Vassil Vassilev
db1fad1a20 Fix warnings. 2013-09-20 10:12:57 +02:00
Vassil Vassilev
156e74b8dd Update references to the file. 2013-09-18 20:33:06 +02:00
Vassil Vassilev
0fda7606c1 Remove commented out code. 2013-09-18 20:33:05 +02:00
Vassil Vassilev
6f569a1aaa Move the implementation in an interpreter-independent object.
We don't need the intepreter to store clang's state. We can use a separate object
for that which allows to be reused.

Provide *much* shorter and cleaner implementation.
2013-09-18 20:33:05 +02:00