1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen
Taewook Oh e08e7b0362 Make .file directive to have basename only
Summary:
Currently LLVM puts directory along with the filename in .file directive, but this behavior doesn't match gcc. There's a no clear description about which one is right (https://sourceware.org/binutils/docs/as/File.html#File), but one document (https://sourceware.org/gdb/current/onlinedocs/stabs/ELF-Linker-Relocation.html) suggests that STT_FILE symbol in elf file is expected to have basename only, which should have a same sting file .file directive according to (https://docs.oracle.com/cd/E26502_01/html/E28388/eoiyg.html).

This also affects badly on the build system that uses hashing, as the directory info could be differnt from developer to developer even when they're working on same file.

Reviewers: pcc, mehdi_amini

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36018

llvm-svn: 310642
2017-08-10 18:17:11 +00:00
..
AArch64 [MachineOutliner] Ensure AArch64 outliner doesn't mess with W30 or LR 2017-08-08 21:51:26 +00:00
AMDGPU AMDGPU: Fix assert on n inline asm constraint 2017-08-09 20:09:35 +00:00
ARM ARM: Fix CMP_SWAP expansion 2017-08-09 22:22:05 +00:00
AVR
BPF DAG: Undo and->or combine with FrameIndexes 2017-08-02 00:43:42 +00:00
Generic
Hexagon [Hexagon] Ignore DBG_VALUEs when counting instructions in hexagon-early-if 2017-08-09 21:22:05 +00:00
Inputs
Lanai
Mips [mips][microMIPS] Extending size reduction pass with XOR16 2017-08-10 10:27:29 +00:00
MIR [MIR] Print target-specific constant pools 2017-08-02 11:09:30 +00:00
MSP430
Nios2
NVPTX
PowerPC [PowerPC] Don't crash on larger splats achieved through 1-byte splats 2017-08-08 13:52:45 +00:00
SPARC
SystemZ Reapply fix PR23384 (part 3 of 3) r304824 (was reverted in r305720). 2017-08-07 19:56:34 +00:00
Thumb
Thumb2 ARM: Do not use llc -march in tests. 2017-08-01 22:20:49 +00:00
WebAssembly
WinEH
X86 Make .file directive to have basename only 2017-08-10 18:17:11 +00:00
XCore Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00