llvm-project/clang/lib
Keith Smiley a2db7d5e9c reland: [clang] Don't append the working directory to absolute paths
This fixes a bug that happens when using -fdebug-prefix-map to remap an
absolute path to a relative path. Since the path was absolute before
remapping, it is safe to assume that concatenating the remapped working
directory would be wrong.

This was originally submitted as https://reviews.llvm.org/D113718, but
reverted because when testing with dwarf 5 enabled, the tests were too
strict.

Differential Revision: https://reviews.llvm.org/D121663
2022-03-15 13:42:35 -07:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST Implement literal suffixes for _BitInt 2022-03-14 09:24:19 -04:00
ASTMatchers Add `isConstinit` matcher 2022-01-24 08:35:42 -05:00
Analysis [clang][dataflow] Allow disabling built-in transfer functions for CFG terminators 2022-03-15 15:10:32 +00:00
Basic Have cpu-specific variants set 'tune-cpu' as an optimization hint 2022-03-14 06:14:30 -07:00
CodeGen reland: [clang] Don't append the working directory to absolute paths 2022-03-15 13:42:35 -07:00
CrossTU Revert "[analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file" 2021-12-16 20:46:51 -05:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver Revert "[clang][driver] Emit a warning if -xc/-xc++ is after the last input file" 2022-03-16 01:17:17 +08:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Format [clang-format] Fix crash with ObjC Blocks 2022-03-15 21:41:57 +01:00
Frontend [clang][sema] Enable first-class bool support for C2x 2022-03-09 15:04:24 +01:00
FrontendTool [clang] Add an extract-api driver option 2022-01-26 11:31:12 -08:00
Headers [Clang][VE] Add vector load intrinsics 2022-03-12 09:09:57 +09:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization
Interpreter [clang-repl] Add an accessor to our underlying execution engine 2022-03-11 09:24:47 +00:00
Lex Silence -Wlogical-op-parentheses and fix a logic bug while doing so 2022-03-14 10:13:39 -04:00
Parse [clang][parser] Allow GNU attributes before namespace identifier 2022-03-15 22:30:22 +03:00
Rewrite Add assert on End iteration distance to Rewriter::getRewrittenText. 2022-01-25 17:26:13 +00:00
Sema [Concepts] Fix an assertion failure while diagnosing constrained 2022-03-15 13:11:32 -07:00
Serialization [Support] Change zlib::compress to return void 2022-03-14 11:38:04 -07:00
StaticAnalyzer [analyzer][NFC] Merge similar conditional paths 2022-03-07 22:05:27 +05:30
Testing
Tooling [clang][deps] Remove '-fmodules-cache-path=' arguments 2022-03-12 11:42:07 +01:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00