Commit Graph
1106 Commits
Author SHA1 Message Date
Austin Morton c64d5dc587 Add remote storage backend (#1549)
Allows a CE instance to utilize another remote CE instance
for shortlink storage
2019-08-26 18:32:13 -04:00
Partouf 41f696489d fix #1552 2019-08-25 16:26:35 +02:00
Austin Morton be8b8aa245 Avoid deleting file when updating a key in disk cache
When setting a key, the file is written to disk first and then
the cache entry is set.  When the key already exists, the dispose
callback will end up deleting the *updated* file from disk.

This results in a cache entry with no corresponding file on disk.
2019-08-23 10:10:16 -04:00
Austin Morton 12380a4a95 Gracefully handle IO errors in disk cache
There appears to be a race condition between key eviction
and access.  It is possible for the file to be deleted from disk,
but the key to still be in the cache momentarily.

If someone tries to access the key during this period a
file not found error will be thrown, and odd behavior may
occur in the caller.

Instead, we catch/log errors and return a cache miss.
2019-08-23 09:44:20 -04:00
Partouf aa0165ee66 disable librarypaths for llc (llvm ir) 2019-08-22 17:09:27 +02:00
Partouf 834a3beed1 undo properties change, not needed 2019-08-21 03:31:59 +02:00
Partouf c5ccd7dfba disable rpath for zig, doesn't work 2019-08-21 03:30:30 +02:00
Partouf 0aa948079b support for flags with spaces 2019-08-21 03:13:51 +02:00
Partouf 065ae74888 no linking for asm compilers 2019-08-21 02:15:29 +02:00
Partouf ec2c3128bd unittests for mapfile reading 2019-08-21 01:26:16 +02:00
Partouf e9caf5c27f property for -L 2019-08-21 00:55:03 +02:00
Partouf c6182cfb03 refactor 2019-08-21 00:52:35 +02:00
Partouf 627ccd32df add param and description 2019-08-21 00:49:47 +02:00
Partouf a554cf832f disable libpath for dmd ldc, add tools to D 2019-08-21 00:45:45 +02:00
Partouf be52b652a9 bugfix win32 execution 2019-08-20 00:09:55 +02:00
Partouf 0e05dfe229 bugfix win32 mapping removed too much asm 2019-08-20 00:09:23 +02:00
Partouf b5e75ce8f4 linking for VS (static) 2019-08-19 22:05:14 +02:00
Partouf 8da9da1654 . 2019-08-19 21:21:10 +02:00
Partouf 727ebbb70a disable custom libraries for ellcc 2019-08-19 21:14:36 +02:00
Partouf b84ee90449 only link when binary, also add compiler.ldPath 2019-08-19 21:08:19 +02:00
Partouf 2a2a3bfcc3 Merge remote-tracking branch 'matt/master' into sharedlibs 2019-08-19 20:02:48 +02:00
Partouf 37686d8032 fix unittests 2019-08-15 17:00:32 +02:00
Partouf 25bf902c30 add 32bit support 2019-08-15 16:40:38 +02:00
Partouf 27394cd986 add openssl, shared lib support, ldd to check so's 2019-08-15 14:45:18 +02:00
Partouf 69dbe99281 fix ispc argument parser 2019-08-13 22:42:09 +02:00
Partouf 69a43f7fee optimizationArguments api 2019-08-13 22:15:53 +02:00
Partouf fb286bd306 add custom argument parser for rust 2019-08-08 17:19:20 +02:00
Partouf ea6e1eded6 change fpc demangler instantiation, fix #1528 2019-08-08 15:35:52 +02:00
RabsRincon e52f66017c Require compiler demangler class only once at init 2019-08-02 01:48:59 +02:00
Partouf 7924f6d436 real path fix for tools 2019-07-30 00:25:19 +02:00
Partouf 235640b078 fix source filename in parseOutput 2019-07-30 00:09:41 +02:00
Partouf 5fa15a7f2a fix 2019-07-30 00:02:31 +02:00
Partouf 04c85784d8 apply filenametransform to tool output 2019-07-29 23:49:07 +02:00
Patrick Quist ebfad4ea2d Merge pull request #1503 from mattgodbolt/toolimprovements
Tool improvements
2019-07-26 19:59:24 +02:00
Partouf 3868592c44 const 2019-07-26 17:03:31 +02:00
Partouf 1068e98c18 add readelf 2019-07-26 16:19:50 +02:00
Partouf 40cad9050f log eaccess errors 2019-07-26 16:19:27 +02:00
Partouf 5bd8465cfe filter prompt from output 2019-07-26 15:23:09 +02:00
Partouf 37fc9b697d oops, stdin was used and not commands.txt 2019-07-26 15:12:45 +02:00
Partouf 21b9e87a9c comment 2019-07-26 15:03:49 +02:00
Partouf f9a645a09b dont actually pass stdin as stdin, add stdin hint 2019-07-26 15:03:25 +02:00
RabsRincon e315a7e3c7 Add clang-query-tool based on @steveire changes 2019-07-25 22:54:18 +02:00
Austin Morton 6ee738e7e6 Fix external compilers when httpRoot is set. (#1410) 2019-07-23 17:01:38 -04:00
Partouf 0bbd8bef59 fix compilerExe 2019-07-23 20:10:35 +02:00
Austin Morton ddbc9383d4 Clang 10 and higher support dumping AST. Fixes #1511 2019-07-23 08:18:18 -04:00
Rubén Rincón Blanco 2085f8d331 Merge pull request #1504 from mattgodbolt/undenodeify
Completely remove need for denodeify
2019-07-21 21:09:49 +02:00
RabsRincon 91cf11c7cd Remove redundant Promise.resolve calls 2019-07-21 20:59:54 +02:00
Partouf 076ae6b4bb support hint for stdin 2019-07-21 17:59:54 +02:00
Partouf 600eab2112 Merge branch 'toolimprovements' of https://github.com/mattgodbolt/compiler-explorer into toolimprovements 2019-07-21 16:51:48 +02:00
Partouf 3264da7220 language support tool output 2019-07-21 16:44:50 +02:00