hfinkel / llvm-project-csp Goto Github PK
View Code? Open in Web Editor NEWClang supporting syntax plugins
Clang supporting syntax plugins
Hi, I am trying to use the syntax plugin but I am hitting the following error:
[2882/2883] Running lit suite /home/lchelini/scratch/llvm-project-csp-orig/clang/test/Frontend
llvm-lit: /home/lchelini/scratch/llvm-project-csp-orig/llvm/utils/lit/lit/llvm/config.py:342: note: using clang: /home/lchelini/scratch/llvm-project-csp-orig/build/bin/clang
FAIL: Clang :: Frontend/plugin-syntax-print-tokens.cpp (40 of 131)
******************** TEST 'Clang :: Frontend/plugin-syntax-print-tokens.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1'; /home/lchelini/scratch/llvm-project-csp-orig/build/bin/clang -std=c++11 -fplugin=/home/lchelini/scratch/llvm-project-csp-orig/build/./lib/PrintTokensSyntax.so -emit-llvm -S /home/lchelini/scratch/llvm-project-csp-orig/clang/test/Frontend/plugin-syntax-print-tokens.cpp -o - | /home/lchelini/scratch/llvm-project-csp-orig/build/bin/FileCheck /home/lchelini/scratch/llvm-project-csp-orig/clang/test/Frontend/plugin-syntax-print-tokens.cpp
--
Exit Code: 2
Command Output (stderr):
--
: CommandLine Error: Option 'non-global-value-max-name-size' registered more than once!
fatal error: error in backend: inconsistency in registered CommandLine options
clang-10: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 10.0.0 (https://github.com/hfinkel/llvm-project-csp.git e6b6a5711708403ac889086e6609b02905327545)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/lchelini/scratch/llvm-project-csp-orig/build/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-10: note: diagnostic msg: Error generating preprocessed source(s).
FileCheck error: '-' is empty.
FileCheck command line: /home/lchelini/scratch/llvm-project-csp-orig/build/bin/FileCheck /home/lchelini/scratch/llvm-project-csp-orig/clang/test/Frontend/plugin-syntax-print-tokens.cpp
--
********************
Testing Time: 17.22s
********************
Failing Tests (1):
Clang :: Frontend/plugin-syntax-print-tokens.cpp
Expected Passes : 125
Unsupported Tests : 5
Unexpected Failures: 1
Any idea why? Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.